1
0
mirror of https://github.com/golang/go synced 2024-11-20 00:24:43 -07:00

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 <sameer@golang.org>
Run-TryBot: Sam Whited <sam@samwhited.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Sam Whited 2017-08-24 12:39:34 -05:00 committed by Ian Lance Taylor
parent e3e09e3d5f
commit bf90da97c1

View File

@ -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 {