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

Replace "golang.org/x/net/context" with "context" and stop supporting go1.6 #1160

Closed
wants to merge 3 commits into from

Conversation

menghanl
Copy link
Contributor

@menghanl menghanl commented Mar 31, 2017

This is a experimental PR to replace "golang.org/x/net/context" with "context".
This also means we will stop supporting go1.6.

protoc-gen-go updated their context in generated code to import "context", regenerated pb.go files with latest protoc-gen-go don't build against grpc now.

fixes #711

@tmc
Copy link

tmc commented Mar 31, 2017

https://github.com/grpc-ecosystem/grpc-gateway would like to move to this ASAP. IMO the longer this difference exists the more pain there will be.

@menghanl
Copy link
Contributor Author

menghanl commented Mar 31, 2017

We are holding this off because the proto context package change was reverted golang/protobuf#326

@dfawley dfawley closed this May 5, 2017
@menghanl menghanl deleted the replace_context branch January 17, 2018 21:50
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go 1.7 uses import "context"
3 participants