From 28f5755106600b760febdcb7e16f50af5263d54c Mon Sep 17 00:00:00 2001 From: Leonel Quinteros Date: Wed, 28 Feb 2018 22:01:08 -0300 Subject: [PATCH] lint: address code reviews from https://go-review.googlesource.com/c/lint/+/96091 Updates #350 --- lint.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lint.go b/lint.go index 69c7e419..ea0528a3 100644 --- a/lint.go +++ b/lint.go @@ -24,7 +24,6 @@ import ( "unicode/utf8" "golang.org/x/tools/go/ast/astutil" - "golang.org/x/tools/go/gcexportdata" ) @@ -1693,7 +1692,7 @@ func (f *file) srcLineWithMatch(node ast.Node, pattern string) (m []string) { return rx.FindStringSubmatch(line) } -// imports returns true if the current file imports the specified package path +// imports returns true if the current file imports the specified package path. func (f *file) imports(importPath string) bool { all := astutil.Imports(f.fset, f.f) for _, p := range all {