Skip to content

Commit

Permalink
Fix for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-muehle committed Nov 2, 2020
1 parent 16041ac commit 465f989
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"go/ast"
"strings"

"github.com/tommy-muehle/go-mnd/checks"
"github.com/tommy-muehle/go-mnd/config"
"github.com/tommy-muehle/go-mnd/v2/checks"
"github.com/tommy-muehle/go-mnd/v2/config"

"golang.org/x/tools/go/analysis"
"golang.org/x/tools/go/analysis/passes/inspect"
Expand Down
2 changes: 1 addition & 1 deletion checks/argument.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"golang.org/x/tools/go/analysis"

config "github.com/tommy-muehle/go-mnd/config"
config "github.com/tommy-muehle/go-mnd/v2/config"
)

const ArgumentCheck = "argument"
Expand Down
2 changes: 1 addition & 1 deletion checks/assign.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"golang.org/x/tools/go/analysis"

config "github.com/tommy-muehle/go-mnd/config"
config "github.com/tommy-muehle/go-mnd/v2/config"
)

const AssignCheck = "assign"
Expand Down
2 changes: 1 addition & 1 deletion checks/case.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"golang.org/x/tools/go/analysis"

config "github.com/tommy-muehle/go-mnd/config"
config "github.com/tommy-muehle/go-mnd/v2/config"
)

const CaseCheck = "case"
Expand Down
2 changes: 1 addition & 1 deletion checks/condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"golang.org/x/tools/go/analysis"

config "github.com/tommy-muehle/go-mnd/config"
config "github.com/tommy-muehle/go-mnd/v2/config"
)

const ConditionCheck = "condition"
Expand Down
2 changes: 1 addition & 1 deletion checks/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"golang.org/x/tools/go/analysis"

config "github.com/tommy-muehle/go-mnd/config"
config "github.com/tommy-muehle/go-mnd/v2/config"
)

const OperationCheck = "operation"
Expand Down
2 changes: 1 addition & 1 deletion checks/return.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"golang.org/x/tools/go/analysis"

config "github.com/tommy-muehle/go-mnd/config"
config "github.com/tommy-muehle/go-mnd/v2/config"
)

const ReturnCheck = "return"
Expand Down
2 changes: 1 addition & 1 deletion cmd/mnd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"golang.org/x/tools/go/analysis/singlechecker"

mnd "github.com/tommy-muehle/go-mnd"
mnd "github.com/tommy-muehle/go-mnd/v2"
)

func main() { singlechecker.Main(mnd.Analyzer) }
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/tommy-muehle/go-mnd/config"
"github.com/tommy-muehle/go-mnd/v2/config"
)

func TestWithCustomChecks(t *testing.T) {
Expand Down
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/tommy-muehle/go-mnd
module github.com/tommy-muehle/go-mnd/v2

go 1.12

Expand Down

0 comments on commit 465f989

Please sign in to comment.