refactor: refactor eiblog

This commit is contained in:
henry.chen
2025-07-16 19:45:50 +08:00
parent 0a410f09f3
commit 8fcabd5e15
67 changed files with 1282 additions and 1330 deletions

View File

@@ -5,7 +5,7 @@ set -e
_tag="$1"
_arch=$(go env GOARCH)
for file in pkg/core/*; do
for file in cmd/*; do
app="$(basename $file)";
# tar platform
for os in linux darwin windows; do

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env sh
for file in pkg/core/*; do
for file in cmd/*; do
if test -d $file; then
cd $file && swag init -g api.go;
cd $file && swag init -g main.go;
cd -;
fi
done