dengbiao 0d59e719dd | pirms 1 nedēļas | |
---|---|---|
app | pirms 1 nedēļas | |
bin | pirms 1 mēnesi | |
cmd/task | pirms 1 mēnesi | |
docs | pirms 1 nedēļas | |
etc | pirms 2 nedēļām | |
k8s | pirms 3 nedēļām | |
static/html | pirms 1 mēnesi | |
test | pirms 1 mēnesi | |
.gitignore | pirms 1 mēnesi | |
Dockerfile | pirms 1 mēnesi | |
Dockerfile-task | pirms 1 mēnesi | |
Makefile | pirms 1 mēnesi | |
README.md | pirms 1 nedēļas | |
build.sh | pirms 1 mēnesi | |
cmd_db.bat | pirms 1 mēnesi | |
cmd_db.sh | pirms 1 mēnesi | |
cmd_run.bat | pirms 1 mēnesi | |
cmd_run.sh | pirms 1 mēnesi | |
cmd_task.bat | pirms 1 mēnesi | |
cmd_task.sh | pirms 1 mēnesi | |
go.mod | pirms 1 nedēļas | |
main.go | pirms 3 nedēļām | |
wap.conf | pirms 1 mēnesi | |
zyos-mall-deployment.yaml | pirms 1 mēnesi |
蛋蛋星球后台管理项目
软件架构说明
> 参考: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 在生成文档时解析外部依赖包)