在Ubuntu上提升Golang编译效率可从以下方面入手:
go build -p [任务数]
-p 4
-buildcache true
GOCACHE
-s -w
-modvendor
vendor
ccache