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
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.