mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-12 01:12:27 +08:00
refactor: eiblog
This commit is contained in:
9
scripts/swag_init.sh
Executable file
9
scripts/swag_init.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
for file in pkg/core/*; do
|
||||
if test -d $file; then
|
||||
cd $file && swag init -g api.go;
|
||||
cd -;
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user