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
posted @ 2021-01-05 16:57  maob  阅读(105)  评论(0编辑  收藏  举报