go 1.13 环境变量配置

Posted linguoguo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了go 1.13 环境变量配置相关的知识,希望对你有一定的参考价值。

GO111MODULE="off"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/js/Library/Caches/go-build"
GOENV="/Users/js/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY="gitlab.xinghuolive.com/*"
GONOSUMDB="gitlab.xinghuolive.com/*"
GOOS="darwin"
GOPATH="/Users/js/go"
GOPRIVATE="gitlab.xinghuolive.com/*"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/js/.gvm/gos/go1.13.1"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/js/.gvm/gos/go1.13.1/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
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 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/wm/lx_51wr961qb0_ghjjyjp29w0000gn/T/go-build847481369=/tmp/go-build -gno-record-gcc-switches -fno-common"

以上是关于go 1.13 环境变量配置的主要内容,如果未能解决你的问题,请参考以下文章

go环境变量配置 (GOROOT和GOPATH)

go编程语言 设置环境变量是怎么回事

go配置环境

golang 环境变量配置

go godotenv配置环境

Go语言环境安装和环境变量配置(针对于macOS)