Skip to content

Commit

Permalink
goimports .
Browse files Browse the repository at this point in the history
  • Loading branch information
korfuri committed Jul 9, 2017
1 parent 40659ea commit cc2e3c0
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 7 deletions.
3 changes: 2 additions & 1 deletion empty_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package goref_test

import (
"testing"

"github.com/korfuri/goref"
"github.com/stretchr/testify/assert"
"testing"
)

func TestCanImportEmptyPackage(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion loadpath_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package goref

import (
"github.com/stretchr/testify/assert"
"go/ast"
"testing"

"github.com/stretchr/testify/assert"
)

func TestCleanImportSpec(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion multiple_mains_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package goref_test

import (
"testing"

"github.com/korfuri/goref"
"github.com/stretchr/testify/assert"
"testing"
)

func TestMultipleMains(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions package.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package goref
import (
"go/token"
"go/types"

"golang.org/x/tools/go/loader"
)

Expand Down
5 changes: 3 additions & 2 deletions packagegraph.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package goref

import (
log "github.com/sirupsen/logrus"
"go/ast"
"go/types"
"golang.org/x/tools/go/loader"
"path"
"strings"

log "github.com/sirupsen/logrus"
"golang.org/x/tools/go/loader"
)

// PackageGraph represents a collection of Go packages and their
Expand Down
1 change: 1 addition & 0 deletions reftype.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package goref

import (
"go/ast"

"golang.org/x/tools/go/loader"
)

Expand Down
3 changes: 2 additions & 1 deletion simple_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package goref_test

import (
"testing"

"github.com/korfuri/goref"
"github.com/stretchr/testify/assert"
"testing"
)

func TestSimplePackage(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion vendored_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package goref_test

import (
"testing"

"github.com/korfuri/goref"
"github.com/stretchr/testify/assert"
"testing"
)

func TestVendoredPackage(t *testing.T) {
Expand Down

0 comments on commit cc2e3c0

Please sign in to comment.