Consider context/Context
Preetam opened this issue · comments
Preetam commented
Using https://golang.org/x/net/context is probably a good direction to move in. It should be moving into the standard library too (golang/go#14660).
Preetam commented
Go 1.7 introduced context.Context
to http.Request
.
https://golang.org/pkg/net/http/#Request.Context