Skip to content

Supporting standard lib context #246

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

Closed
marcsantiago opened this issue Aug 21, 2017 · 5 comments
Closed

Supporting standard lib context #246

marcsantiago opened this issue Aug 21, 2017 · 5 comments
Assignees

Comments

@marcsantiago
Copy link

For some projects I have to import context as well as oldContext "golang.org/x/net/context"

@rakyll rakyll self-assigned this Aug 21, 2017
@rakyll
Copy link
Contributor

rakyll commented Aug 21, 2017

We unfortunately are still supporting 1.6 because a few critical libraries are stuck there. Why can't you just import context and pass it? context.Context satisfies "golang.org/x/net/context".Context.

@sonnysideup
Copy link

sonnysideup commented May 8, 2018

Using Go version: v1.10.2

Regardless of the import statement, it still requires developers to add golang.org/x/net/context as a dependency to whichever package manger (dep, Glide, etc...) they're using othewise the project will not build on a fresh workstation.

Is there a timeline for this change or at least an EOL deadline for v1.6?

@bradfitz
Copy link
Contributor

bradfitz commented May 9, 2018

It'll probably be another 6 months. Sorry. I'm frustrated by it too.

@sonnysideup
Copy link

No worries, thanks for the swift response. I'll just watch and wait until then.

@bradfitz
Copy link
Contributor

We can submit this tomorrow morning.

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

4 participants