huangjiajun 3a902c73d8 | pirms 1 dienas | |
---|---|---|
app | pirms 1 dienas | |
bin | pirms 5 dienas | |
cmd/task | pirms 5 dienas | |
docs | pirms 1 dienas | |
etc | pirms 4 dienas | |
k8s | pirms 4 dienas | |
static/html | pirms 5 dienas | |
test | pirms 5 dienas | |
.gitignore | pirms 5 dienas | |
Dockerfile | pirms 1 dienas | |
Dockerfile-task | pirms 5 dienas | |
Makefile | pirms 5 dienas | |
README.md | pirms 5 dienas | |
build.sh | pirms 4 dienas | |
cmd_db.bat | pirms 5 dienas | |
cmd_db.sh | pirms 5 dienas | |
cmd_run.bat | pirms 5 dienas | |
cmd_run.sh | pirms 5 dienas | |
cmd_task.bat | pirms 5 dienas | |
cmd_task.sh | pirms 5 dienas | |
go.mod | pirms 1 dienas | |
main.go | pirms 4 dienas | |
wap.conf | pirms 5 dienas |
蛋蛋星球后台管理项目
软件架构说明
> 参考: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 在生成文档时解析外部依赖包)