在Linux系统下优化Golang编译速度可从以下方面入手:
-c
-s
-p
go build -p 4
-buildcache true
GOCACHE
go mod vendor
GOMAXPROCS