update
This commit is contained in:
@@ -13,7 +13,7 @@ go mod download
|
|||||||
if grep -q "swag" go.mod; then
|
if grep -q "swag" go.mod; then
|
||||||
echo "Found 'swag' in go.mod. Running swag init..."
|
echo "Found 'swag' in go.mod. Running swag init..."
|
||||||
go install github.com/swaggo/swag/cmd/swag@latest
|
go install github.com/swaggo/swag/cmd/swag@latest
|
||||||
swag init
|
swag init --parseDependency
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o ./output/main .
|
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o ./output/main .
|
||||||
|
|||||||
Reference in New Issue
Block a user