Skip to content

Commit 81e1806

Browse files
committed
all: run goimports happy
$ goimports -w -local=github.com/gostaticanalysis/comment,github.com/gostaticanalysis $(go list -f='{{ .Dir }}' ./... | grep -v testdata)
1 parent 7d5172c commit 81e1806

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

helper_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import (
77
"go/token"
88
"testing"
99

10-
"github.com/gostaticanalysis/comment"
1110
"golang.org/x/tools/txtar"
11+
12+
"github.com/gostaticanalysis/comment"
1213
)
1314

1415
func parse(t *testing.T, fset *token.FileSet, path string) []*ast.File {

passes/commentmap/commentmap.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ package commentmap
33
import (
44
"reflect"
55

6-
"github.com/gostaticanalysis/comment"
76
"golang.org/x/tools/go/analysis"
7+
8+
"github.com/gostaticanalysis/comment"
89
)
910

1011
var Analyzer = &analysis.Analyzer{

passes/commentmap/commentmap_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ import (
44
"go/ast"
55
"testing"
66

7-
"github.com/gostaticanalysis/comment"
8-
"github.com/gostaticanalysis/comment/passes/commentmap"
97
"golang.org/x/tools/go/analysis"
108
"golang.org/x/tools/go/analysis/analysistest"
119
"golang.org/x/tools/go/analysis/passes/inspect"
1210
"golang.org/x/tools/go/ast/inspector"
11+
12+
"github.com/gostaticanalysis/comment"
13+
"github.com/gostaticanalysis/comment/passes/commentmap"
1314
)
1415

1516
func Test_Maps_Ignore(t *testing.T) {

0 commit comments

Comments
 (0)