Go——安装指定版本 protoc-gen-go
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26.0
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
https://github.com/protocolbuffers/protobuf/releases/tag/v21.5
goland 环境变量设置
GOPROXY=https://goproxy.io,direct;GOPRIVATE=gitlab.oye-inc.com
命令行环境变量设置
go env -w GOPRIVATE=gitlab.oye-inc.com