# User go variable
GOROOT=/usr/local/go
GOPATH=/go
PATH=$GOROOT/bin:$GOPATH/bin:$PATH
export GOROOT GOPATH PATH
关于golang引用第三方包报错
关于golang第三方包的引用报错:no required module provides package : go.mod file not found in current directory or any parent directory;
执行:go env -w GO111MODULE=auto