xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
3.14k stars 433 forks source link

found packages sync #16

Closed f4nff closed 3 years ago

f4nff commented 3 years ago
root@yy:/home/tun2socks# go get  -d github.com/xjasonlyu/tun2socks
found packages tcp (accept.go) and rcv (rcv_test.go) in /home/gopkg/src/gvisor.dev/gvisor/pkg/tcpip/transport/tcp
root@yy:/home/tun2socks# /home/gopkg/src/github.com/xjasonlyu/tun2socksc^C
root@yy:/home/tun2socks# cd /home/gopkg/src/github.com/xjasonlyu/tun2socks
root@yy:/home/gopkg/src/github.com/xjasonlyu/tun2socks# ls
assets  Dockerfile  go.sum    LICENSE  Makefile  README.md
docker  go.mod      internal  main.go  pkg       scripts
root@yy:/home/gopkg/src/github.com/xjasonlyu/tun2socks# go build
../../../gvisor.dev/gvisor/pkg/tcpip/tcpip.go:41:2: found packages sync (aliases.go) and template (atomicptr_unsafe.go) in /home/gopkg/src/gvisor.dev/gvisor/pkg/sync
../../../gvisor.dev/gvisor/pkg/tcpip/adapters/gonet/gonet.go:29:2: found packages tcp (accept.go) and rcv (rcv_test.go) in /home/gopkg/src/gvisor.dev/gvisor/pkg/tcpip/transport/tcp
xjasonlyu commented 3 years ago

git clone the project and build with make or download from release is recommended, if you wanna build directly, use gvisor’s go branch instead of master.