Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return/continue? #24

Open
blacktoot opened this issue Jan 26, 2020 · 0 comments
Open

return/continue? #24

blacktoot opened this issue Jan 26, 2020 · 0 comments

Comments

@blacktoot
Copy link

blacktoot commented Jan 26, 2020

1.case wrapConn := <-conns:
if wrapConn == nil {
return nil, ErrClosed
}
这种情况,应该是conn被close掉了吧,但是对象还在channel中,建议这里continue是不是更好呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant