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:
parent
71a44e9194
commit
100866504d
1
go.mod
1
go.mod
@ -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
|
||||||
)
|
)
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
package transocks
|
package transocks
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
syscall "golang.org/x/sys/unix"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"syscall"
|
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user