go1.3 后废弃了GOPATH
但是gomodule 要自己设置 :go env -w GO111MODULE=auto
Microsoft Windows [版本 10.0.22621.1848]
© Microsoft Corporation。保留所有权利。
C:\Users\zhangbin>adb connect 127.0.0.1:7555
connected to 127.0.0.1:7555
C:\Users\zhangbin>adb connect 127.0.0.1:7555
connected to 127.0.0.1:7555
C:\Users\zhangbin>adb connect 127.0.0.1:7555
connected to 127.0.0.1:7555
C:\Users\zhangbin>go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\zhangbin\AppData\Local\go-build
set GOENV=C:\Users\zhangbin\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=