Skip to content

Commit

Permalink
golint improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
incu6us committed Aug 4, 2020
1 parent f56dff4 commit caf65e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/incu6us/goimports-reviser
module github.com/incu6us/goimports-reviser/v2

go 1.13

Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/incu6us/goimports-reviser v0.1.6 h1:KgSvPzI5VRnsVHBJEyIy0so+1thtYhLpLTfhloAQoiA=
github.com/incu6us/goimports-reviser v0.1.6/go.mod h1:Y85VqadcOjTzAbVLbjasX2qSxmHGaZYYOWdlIq7U28I=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/pkg/errors"

"github.com/incu6us/goimports-reviser/reviser"
"github.com/incu6us/goimports-reviser/v2/reviser"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions reviser/reviser.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"sort"
"strings"

"github.com/incu6us/goimports-reviser/pkg/astutil"
"github.com/incu6us/goimports-reviser/pkg/std"
"github.com/incu6us/goimports-reviser/v2/pkg/astutil"
"github.com/incu6us/goimports-reviser/v2/pkg/std"
)

// Option is an int alias for options
Expand Down

0 comments on commit caf65e7

Please sign in to comment.