shenjiachi 9704d27704 | há 1 semana | |
---|---|---|
app | há 1 semana | |
bin | há 3 semanas | |
cmd/task | há 2 semanas | |
docs | há 1 semana | |
etc | há 2 semanas | |
k8s | há 3 semanas | |
static/html | há 2 semanas | |
test | há 3 semanas | |
.gitignore | há 3 semanas | |
Dockerfile | há 2 semanas | |
Dockerfile-task | há 3 semanas | |
Makefile | há 3 semanas | |
README.md | há 3 semanas | |
build.sh | há 3 semanas | |
cmd_db.bat | há 3 semanas | |
cmd_db.sh | há 3 semanas | |
cmd_run.bat | há 3 semanas | |
cmd_run.sh | há 3 semanas | |
cmd_task.bat | há 3 semanas | |
cmd_task.sh | há 3 semanas | |
go.mod | há 1 semana | |
main.go | há 3 semanas | |
wap.conf | há 3 semanas |
蛋蛋星球后台管理项目
软件架构说明
> 参考:https://segmentfault.com/a/1190000013808421
> swagger 命令行工具
go get -u github.com/swaggo/swag/cmd/swag
//go版本1.16之前使用该命令
go install github.com/swaggo/swag/cmd/swag
//go版本1.16版本以及之后的版本使用该命令
go install github.com/swaggo/swag/cmd/swag@latest
> swagger 依赖
go get "github.com/swaggo/files"
go get "github.com/swaggo/gin-swagger"
> 生成
swag init
swag init -g main.go -o ./docs --parseDependency (swag 在生成文档时解析外部依赖包)