Skip to content

Commit

Permalink
bump up go mod version to v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
screwyprof committed Mar 31, 2023
1 parent 3759088 commit 1545329
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The library is designed to be well-documented, thoroughly tested, and easy to us
To install the Interactor Library, run the following command:

```bash
go get -u github.com/screwyprof/interactor
go get -u github.com/screwyprof/interactor/v2
```

## Usage
Expand All @@ -30,7 +30,7 @@ import (
"fmt"
"log"

"github.com/screwyprof/interactor"
"github.com/screwyprof/interactor/v2"
)

// TestRequest represents a test request.
Expand Down Expand Up @@ -76,7 +76,7 @@ func main() {

For more information and detailed documentation, please refer to the GoDoc documentation:

[Interactor Library GoDoc](https://pkg.go.dev/github.com/screwyprof/interactor)
[Interactor Library GoDoc](https://pkg.go.dev/github.com/screwyprof/interactor/v2)

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/screwyprof/interactor"
"github.com/screwyprof/interactor/v2"
)

func TestFunc(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion dispatcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/screwyprof/interactor"
"github.com/screwyprof/interactor/v2"
)

func TestDispatcher(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/screwyprof/interactor"
"github.com/screwyprof/interactor/v2"
)

func ExampleDispatcher() {
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/screwyprof/interactor
module github.com/screwyprof/interactor/v2

go 1.20

Expand Down
4 changes: 2 additions & 2 deletions interactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"testing"

"github.com/screwyprof/interactor"
. "github.com/screwyprof/interactor/testdsl"
"github.com/screwyprof/interactor/v2"
. "github.com/screwyprof/interactor/v2/testdsl"
)

func TestInteractorAcceptance(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion testdsl/dsl.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/screwyprof/interactor"
"github.com/screwyprof/interactor/v2"
)

// GivenFn is a test init function.
Expand Down

0 comments on commit 1545329

Please sign in to comment.