Init
This commit is contained in:
commit
f90fdc0598
99 changed files with 15260 additions and 0 deletions
15
scripts/swagger.sh
Executable file
15
scripts/swagger.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
action=$1
|
||||
|
||||
case $action in
|
||||
"install")
|
||||
go install github.com/swaggo/swag/cmd/swag@latest
|
||||
;;
|
||||
"init")
|
||||
swag init -g api/swagger.go
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue