#!/bin/bash set -euo pipefail echo "正在生成最新的 Swagger 文档..." swag init -g cmd/server/main.go -o docs echo "正在启动 CarrotSkin 服务器..." go run ./cmd/server