first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:46:42 +03:00
commit 2a5b661443
202 changed files with 49770 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Regenerate swagger docs reliably. Run from project root.
set -euo pipefail
# Ensure swag is installed
if ! command -v swag >/dev/null 2>&1; then
echo "swag not found. Install: go install github.com/swaggo/swag/cmd/swag@latest"
exit 1
fi
# Generate docs
swag init -g main.go -o docs
echo "Swagger docs regenerated into ./docs"