forked from ms/transocks
Merge pull request #14 from otariidae/replace-syscall
Replace syscall with golang.org/x/sys
This commit is contained in:
commit
c7e1abcf88
1
go.mod
1
go.mod
@ -6,4 +6,5 @@ require (
|
||||
github.com/cybozu-go/netutil v1.2.0
|
||||
github.com/cybozu-go/well v1.8.1
|
||||
golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3
|
||||
golang.org/x/sys v0.0.0-20180906133057-8cf3aee42992
|
||||
)
|
||||
|
@ -3,9 +3,9 @@
|
||||
package transocks
|
||||
|
||||
import (
|
||||
syscall "golang.org/x/sys/unix"
|
||||
"net"
|
||||
"os"
|
||||
"syscall"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user