以下是提升Golang在CentOS上打包效率的方法:
-c
-s
-p
-p 4
-buildcache=true
GOCACHE
go mod vendor
GOMAXPROCS
-ldflags="-s -w"