Skip to content

Commit

Permalink
update go.mod to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
oiooj committed Nov 16, 2019
1 parent 5b72060 commit 970dde4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
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/goproxyio/goproxy
module github.com/goproxyio/goproxy/v2

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"syscall"
"time"

"github.com/goproxyio/goproxy/proxy"
"github.com/goproxyio/goproxy/v2/proxy"

"golang.org/x/mod/module"
)
Expand Down
2 changes: 1 addition & 1 deletion proxy/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"strings"
"time"

"github.com/goproxyio/goproxy/renameio"
"github.com/goproxyio/goproxy/v2/renameio"
)

const ListExpire = 5 * time.Minute
Expand Down
2 changes: 1 addition & 1 deletion renameio/renameio.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"path/filepath"
"strconv"

"github.com/goproxyio/goproxy/robustio"
"github.com/goproxyio/goproxy/v2/robustio"
)

const patternSuffix = ".tmp"
Expand Down
2 changes: 1 addition & 1 deletion renameio/renameio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"testing"
"time"

"github.com/goproxyio/goproxy/robustio"
"github.com/goproxyio/goproxy/v2/robustio"
)

func TestConcurrentReadsAndWrites(t *testing.T) {
Expand Down

0 comments on commit 970dde4

Please sign in to comment.