12345678910111213141516171819 |
- default: build
- run:
- GIN_MODE=release go run main.go
- build:
- go build -o chatgpt-dingtalk main.go
- build-linux:
- CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o chatgpt-dingtalk main.go
- build-linux-arm:
- CGO_ENABLED=0 GOARCH=arm64 GOOS=linux go build -o chatgpt-dingtalk main.go
- lint:
- env GOGC=25 golangci-lint run --fix -j 8 --timeout 10m -v ./...
- goimports:
- @bash ./scripts/goimports-reviser.sh
|