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

Switch from x/net/context to context #2140

Merged
merged 2 commits into from Apr 24, 2018
Merged

Commits on Apr 24, 2018

  1. Bump golang.org/x/net

    This version includes "x/net/context" which is fully compatible with
    the standard Go "context" package, so the two can be mixed together.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Apr 24, 2018
    Configuration menu
    Copy the full SHA
    aba67e2 View commit details
    Browse the repository at this point in the history
  2. Switch from x/net/context -> context

    Since Go 1.7, context is a standard package. Since about Go 1.9 time,
    all x/net/context provides is a few aliases to types in context, meaning
    "x/net/context" and "context" can be mixed freely.
    
    Some vendored packages still use x/net/context, so vendor entry remains
    for now.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Apr 24, 2018
    Configuration menu
    Copy the full SHA
    c4d30f8 View commit details
    Browse the repository at this point in the history