fix: swago

This commit is contained in:
naiba
2024-11-29 21:55:29 +08:00
parent b5d70734f4
commit a3a7d70c8c
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -32,6 +32,8 @@ jobs:
- name: generate swagger docs
run: |
go install github.com/swaggo/swag/cmd/swag@latest
touch ./cmd/dashboard/user-dist/a
touch ./cmd/dashboard/admin-dist/a
swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs --parseGoList=false
- name: Unit test