$ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build *.go $ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build *.go https://gorm.io/zh_CN/docs/index.html go get -u github.com/xxl6097/[email protected]