diff --git a/cmd/generate-doc-yaml-schema/main.go b/cmd/generate-doc-yaml-schema/main.go index 4ade37f..869bc20 100644 --- a/cmd/generate-doc-yaml-schema/main.go +++ b/cmd/generate-doc-yaml-schema/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "github.com/coreruleset/ftw-tests-schema/types" - "github.com/coreruleset/ftw-tests-schema/types/overrides" + "github.com/coreruleset/ftw-tests-schema/v2/types" + "github.com/coreruleset/ftw-tests-schema/v2/types/overrides" ) func main() { diff --git a/go.mod b/go.mod index fa04b94..b4125a2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/coreruleset/ftw-tests-schema +module github.com/coreruleset/ftw-tests-schema/v2 go 1.21 diff --git a/types/examples.go b/types/examples.go index c3eddee..462b44a 100644 --- a/types/examples.go +++ b/types/examples.go @@ -3,7 +3,7 @@ package types -import "github.com/coreruleset/ftw-tests-schema/internal/helpers" +import "github.com/coreruleset/ftw-tests-schema/v2/internal/helpers" var ( ExampleTests = []Test{ diff --git a/types/overrides/examples.go b/types/overrides/examples.go index e94eda9..6e8fb09 100644 --- a/types/overrides/examples.go +++ b/types/overrides/examples.go @@ -3,7 +3,7 @@ package overrides -import "github.com/coreruleset/ftw-tests-schema/types" +import "github.com/coreruleset/ftw-tests-schema/v2/types" var ( // imported diff --git a/types/overrides/types.go b/types/overrides/types.go index 0631c9f..41411c5 100644 --- a/types/overrides/types.go +++ b/types/overrides/types.go @@ -6,7 +6,7 @@ package overrides import ( - "github.com/coreruleset/ftw-tests-schema/types" + "github.com/coreruleset/ftw-tests-schema/v2/types" ) // FTWOverrides describes platform specific overrides for tests diff --git a/types/types_test.go b/types/types_test.go index f8ce8fe..29c7156 100644 --- a/types/types_test.go +++ b/types/types_test.go @@ -9,7 +9,7 @@ import ( "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - "github.com/coreruleset/ftw-tests-schema/internal/helpers" + "github.com/coreruleset/ftw-tests-schema/v2/internal/helpers" ) var testYaml = `---