From b1757e99459481d39a72867516b30ba8aa1d1c8c Mon Sep 17 00:00:00 2001 From: kun Date: Tue, 26 Nov 2019 13:00:23 +0800 Subject: [PATCH] update go.mod --- go.mod | 5 ++++- go.sum | 2 ++ robustio/robustio_windows.go | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 3dd0859..6f38513 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,7 @@ module github.com/goproxyio/goproxy/v2 go 1.12 -require golang.org/x/mod v0.1.0 +require ( + github.com/goproxyio/windows v0.0.0-20191126033816-f4a809841617 + golang.org/x/mod v0.1.0 +) diff --git a/go.sum b/go.sum index 8d8d6de..15a14ce 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +github.com/goproxyio/windows v0.0.0-20191126033816-f4a809841617 h1:geXWJzWrEzC5S4MjTi8N+fhzuSYgdf4FwcYb4OI/YGU= +github.com/goproxyio/windows v0.0.0-20191126033816-f4a809841617/go.mod h1:dlHwZrQaHMQLGIISiDGKq3wKQhZDsRcZ2+EN4k0uGTc= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/mod v0.1.0 h1:sfUMP1Gu8qASkorDVjnMuvgJzwFbTZSeXFiGBYAVdl4= diff --git a/robustio/robustio_windows.go b/robustio/robustio_windows.go index a3d94e5..b2d8faa 100644 --- a/robustio/robustio_windows.go +++ b/robustio/robustio_windows.go @@ -6,12 +6,13 @@ package robustio import ( "errors" - "internal/syscall/windows" "io/ioutil" "math/rand" "os" "syscall" "time" + + "github.com/goproxyio/windows" ) const arbitraryTimeout = 500 * time.Millisecond