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

ctxhttp package #19612

Closed
pjebs opened this issue Mar 19, 2017 · 1 comment
Closed

ctxhttp package #19612

pjebs opened this issue Mar 19, 2017 · 1 comment

Comments

@pjebs
Copy link
Contributor

pjebs commented Mar 19, 2017

Since Go1.7, no-one talks about the x/net/context package anymore.
Everyone only talks about the Context package that is now part of the standard library.

When (if ever) will x/net/context/ctxhttp be part of the standard library.
It is a handy package that few discuss online. It should be part of standard library.

@bradfitz
Copy link
Contributor

The net/http package supports contexts as of Go 1.7:

https://golang.org/doc/go1.7#context
https://golang.org/doc/go1.7#net_http

That replaces the need for ctxhttp.

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

No branches or pull requests

3 participants