Skip to content
  • Felix Lange's avatar
    c213fd1f
    all: import "context" instead of "golang.org/x/net/context" · c213fd1f
    Felix Lange authored
    There is no need to depend on the old context package now that the
    minimum Go version is 1.7. The move to "context" eliminates our weird
    vendoring setup. Some vendored code still uses golang.org/x/net/context
    and it is now vendored in the normal way.
    
    This change triggered new vet checks around context.WithTimeout which
    didn't fire with golang.org/x/net/context.
    c213fd1f
    all: import "context" instead of "golang.org/x/net/context"
    Felix Lange authored
    There is no need to depend on the old context package now that the
    minimum Go version is 1.7. The move to "context" eliminates our weird
    vendoring setup. Some vendored code still uses golang.org/x/net/context
    and it is now vendored in the normal way.
    
    This change triggered new vet checks around context.WithTimeout which
    didn't fire with golang.org/x/net/context.
Loading