This commit is contained in:
2024-04-05 09:04:17 -05:00
parent baedbf6841
commit efa0102109

View File

@@ -12,7 +12,7 @@ go mod download
# Check if go.mod contains "swag" # Check if go.mod contains "swag"
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@v1.8.12 go install github.com/swaggo/swag/cmd/swag@latest
swag init swag init
fi fi