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