【go】新手go module 踩坑入门rc_server

go1.3 后废弃了GOPATH

【go】新手go module 踩坑入门rc_server_第1张图片

但是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=

你可能感兴趣的:(传输探索实践,golang,java,开发语言)