diff options
Diffstat (limited to 'src/cmd/fix/context.go')
| -rw-r--r-- | src/cmd/fix/context.go | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/cmd/fix/context.go b/src/cmd/fix/context.go index 1107f4d66c..fe2e095052 100644 --- a/src/cmd/fix/context.go +++ b/src/cmd/fix/context.go @@ -4,10 +4,6 @@ package main -import ( - "go/ast" -) - func init() { register(contextFix) } @@ -15,11 +11,7 @@ func init() { var contextFix = fix{ name: "context", date: "2016-09-09", - f: ctxfix, - desc: `Change imports of golang.org/x/net/context to context`, + f: noop, + desc: `Change imports of golang.org/x/net/context to context (removed)`, disabled: false, } - -func ctxfix(f *ast.File) bool { - return rewriteImport(f, "golang.org/x/net/context", "context") -} |
