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

Merge pull request #14 from otariidae/replace-syscall

Replace syscall with golang.org/x/sys
This commit is contained in:
Yamamoto, Hirotaka 2019-03-16 15:06:10 +09:00 committed by GitHub
commit c7e1abcf88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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/well v1.8.1
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
import (
syscall "golang.org/x/sys/unix"
"net"
"os"
"syscall"
"unsafe"
)