cloudwan / gohan

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API
http://www.slideshare.net/natiueno/gohan-61170476
Other
109 stars 44 forks source link

Replace "golang.org/x/net/context" imports with "context" #771

Closed tomasz-michalski closed 4 years ago

tomasz-michalski commented 4 years ago

Since Go 1.7 golang.org/x/net/context is available in standard library. In addition, we already use context in most places.

Kubernetes did similar update almost two years ago ( https://github.com/kubernetes/kubernetes/pull/60563 ) and it did not require any code changes except imports.