gomod_hello
gomod_hello
linux
export GO111MODULE=on
export GOPRIVATE=gitee.com/iiot_edge_platform,gitee.com/magus_iot -------------注意
export GOPROXY=https://goproxy.cn,direct
export GOPATH=/home/go_path/go_path
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
windows
go env -w GOPRIVATE=gitee.com/iiot_edge_platform,gitee.com/magus_iot