2
0
mirror of https://github.com/stefan01/transocks.git synced 2025-02-22 03:30:45 +07:00

Replace syscall with golang.org/x/sys

This commit is contained in:
otariidae 2019-03-16 14:12:08 +09:00
parent 71a44e9194
commit 100866504d
2 changed files with 2 additions and 1 deletions

1
go.mod
View File

@ -6,4 +6,5 @@ require (
github.com/cybozu-go/netutil v1.2.0 github.com/cybozu-go/netutil v1.2.0
github.com/cybozu-go/well v1.8.1 github.com/cybozu-go/well v1.8.1
golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3 golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3
golang.org/x/sys v0.0.0-20180906133057-8cf3aee42992
) )

View File

@ -3,9 +3,9 @@
package transocks package transocks
import ( import (
syscall "golang.org/x/sys/unix"
"net" "net"
"os" "os"
"syscall"
"unsafe" "unsafe"
) )