update go.mod to v2

pull/130/head v2.0.1
kun 2019-11-16 10:23:14 +08:00
parent 5b72060f37
commit 970dde4fb9
5 changed files with 5 additions and 5 deletions

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/goproxyio/goproxy
module github.com/goproxyio/goproxy/v2
go 1.12

View File

@ -33,7 +33,7 @@ import (
"syscall"
"time"
"github.com/goproxyio/goproxy/proxy"
"github.com/goproxyio/goproxy/v2/proxy"
"golang.org/x/mod/module"
)

View File

@ -15,7 +15,7 @@ import (
"strings"
"time"
"github.com/goproxyio/goproxy/renameio"
"github.com/goproxyio/goproxy/v2/renameio"
)
const ListExpire = 5 * time.Minute

View File

@ -13,7 +13,7 @@ import (
"path/filepath"
"strconv"
"github.com/goproxyio/goproxy/robustio"
"github.com/goproxyio/goproxy/v2/robustio"
)
const patternSuffix = ".tmp"

View File

@ -20,7 +20,7 @@ import (
"testing"
"time"
"github.com/goproxyio/goproxy/robustio"
"github.com/goproxyio/goproxy/v2/robustio"
)
func TestConcurrentReadsAndWrites(t *testing.T) {