以下是在Ubuntu上提升Golang开发效率的方法:
-p
go build -p 4
-buildcache true
GOCACHE
-c
-s
GOPROXY=https://goproxy.cn
vendor
go build -modvendor