Skip to content

Commit

Permalink
Merge pull request #12 from theseion/update-go-v2-module
Browse files Browse the repository at this point in the history
chore: update to v2 module vor v2.0.0 release
  • Loading branch information
theseion authored May 20, 2024
2 parents 8a1a71c + 28c7d73 commit 40c8c33
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/generate-doc-yaml-schema/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
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/coreruleset/ftw-tests-schema
module github.com/coreruleset/ftw-tests-schema/v2

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion types/examples.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion types/overrides/examples.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion types/overrides/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion types/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = `---
Expand Down

0 comments on commit 40c8c33

Please sign in to comment.