From: Sam Whited Date: Thu, 24 Aug 2017 17:39:34 +0000 (-0500) Subject: cmd/fix: rewrite x/net/context by default X-Git-Tag: go1.10beta1~1245 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bf90da97c1aaec78d2f8ad8b74a506d3b6f0ee75;p=gostls13.git cmd/fix: rewrite x/net/context by default Since these are type aliases in Go 1.9 make rewriting golang.org/x/net/context imports to context the default. Change-Id: Ib7ee58b59ea5463b92e1590c8b8f5c0ef87d310b Reviewed-on: https://go-review.googlesource.com/58590 Reviewed-by: Sameer Ajmani Run-TryBot: Sam Whited TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/fix/context.go b/src/cmd/fix/context.go index 926a06cccf..1107f4d66c 100644 --- a/src/cmd/fix/context.go +++ b/src/cmd/fix/context.go @@ -17,7 +17,7 @@ var contextFix = fix{ date: "2016-09-09", f: ctxfix, desc: `Change imports of golang.org/x/net/context to context`, - disabled: true, + disabled: false, } func ctxfix(f *ast.File) bool {