diff --git a/go.mod b/go.mod index ff3ee05..7347774 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/incu6us/goimports-reviser +module github.com/incu6us/goimports-reviser/v2 go 1.13 diff --git a/go.sum b/go.sum index 55d1ebc..fa9b69e 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/main.go b/main.go index 23cf29f..7eeee6b 100644 --- a/main.go +++ b/main.go @@ -10,7 +10,7 @@ import ( "github.com/pkg/errors" - "github.com/incu6us/goimports-reviser/reviser" + "github.com/incu6us/goimports-reviser/v2/reviser" ) const ( diff --git a/reviser/reviser.go b/reviser/reviser.go index 280d522..1c37c5a 100644 --- a/reviser/reviser.go +++ b/reviser/reviser.go @@ -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