aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/fix/context.go
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2017-08-24 12:39:34 -0500
committerIan Lance Taylor <iant@golang.org>2017-08-31 19:04:54 +0000
commitbf90da97c1aaec78d2f8ad8b74a506d3b6f0ee75 (patch)
tree8e12d8b0e25cd7a4b71a155a24f8d0cb8dbc2e41 /src/cmd/fix/context.go
parente3e09e3d5f2e4276bda8f1b821424a6bb9976943 (diff)
downloadgo-bf90da97c1aaec78d2f8ad8b74a506d3b6f0ee75.tar.xz
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>
Diffstat (limited to 'src/cmd/fix/context.go')
-rw-r--r--src/cmd/fix/context.go2
1 files changed, 1 insertions, 1 deletions
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 {