-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Context package and go 1.7 #217
Comments
Not yet. Probably not for a while. People still need to support 1.6 and maybe even 1.5. |
That makes sense, thanks. Considering that |
This issue was discussed on the gRPC side, and I've worked on this issue myself. (Since I am being a bleeding edge adopter.) There is no good solution that is adequate that would allow one to compile the same code with 1.6 and 1.7 without massive amounts of hacky work around. Even just using The main golang branch has had a proposal around this which would allow identical interfaces to be treated as identical types regardless of naming, but this could possibly break some very esoteric code, and as such, likely will not make it into Go before this issue becomes moot. (i.e. once 1.6 goes out of support.) |
Considering that context package is now a part of the standard library does it make sense to use
context
in generated files instead ofgolang.org/x/net/context
for go 1.7?The text was updated successfully, but these errors were encountered: