golang代理
作者:互联网
root@ubuntu:~/kata/kata_package# go env -w GOPROXY=https://goproxy.cn,direct warning: go env -w GOPROXY=... does not override conflicting OS environment variable root@ubuntu:~/kata/kata_package# go env GO111MODULE="" GOARCH="arm64" GOBIN="" GOCACHE="/root/.cache/go-build" GOENV="/root/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/opt/gopath/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/opt/gopath" GOPRIVATE="" GOPROXY="https://goproxy.io" GOROOT="/usr/lib/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_arm64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build112501609=/tmp/go-build -gno-record-gcc-switches" root@ubuntu:~/kata/kata_package# export GOPROXY=https://goproxy.cn,direct
标签:CGO,GOPROXY,代理,golang,go,kata,root,O2 来源: https://www.cnblogs.com/dream397/p/13750993.html