1
This commit is contained in:
@@ -2,11 +2,5 @@ if [ -f "controllers/param_parser.go" ]; then
|
||||
rm controllers/param_parser.go
|
||||
fi
|
||||
|
||||
if ! command -v bee &> /dev/null; then
|
||||
echo "错误:bee 命令未找到,尝试安装..."
|
||||
export PATH=$PATH:$(go env GOPATH)/bin
|
||||
go install github.com/ahmetb/govvv@latest
|
||||
fi
|
||||
|
||||
bee generate docs
|
||||
cp swagger/param_parser.go.txt controllers/param_parser.go
|
||||
|
||||
Reference in New Issue
Block a user