蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
dengbiao f59cf84ea8 update 2 weeks ago
app update 2 weeks ago
bin first complete 1 month ago
cmd/task 广告回调 3 weeks ago
docs 内容奖励 短剧 短视频 2 weeks ago
etc 广告回调 3 weeks ago
k8s update 1 month ago
static/html 基本配置 4 weeks ago
test first complete 1 month ago
.gitignore first complete 1 month ago
Dockerfile gomod 1 month ago
Dockerfile-prd update 2 weeks ago
Dockerfile-task first complete 1 month ago
Makefile first complete 1 month ago
README.md first complete 1 month ago
build.sh 1 1 month ago
cmd_db.bat first complete 1 month ago
cmd_db.sh first complete 1 month ago
cmd_run.bat first complete 1 month ago
cmd_run.sh first complete 1 month ago
cmd_task.bat first complete 1 month ago
cmd_task.sh first complete 1 month ago
dependencies.txt update 3 weeks ago
go.mod update go mod 2 weeks ago
main.go update 1 month ago
test.txt update 2 weeks ago
wap.conf first complete 1 month ago

README.md

applet

要看 nginx.conf 和 wap conf

层级介绍

  • hdl 做接收数据的报错, 数据校验
  • svc 做数据处理的报错, 数据转换
  • lib 只抛出错误给hdl或者svc进行处理, 不做数据校验
  • db 可以处理db错误,其它错误返回给svc进行处理
  • mw 中间件
  • md 结构体

介绍

蛋蛋星球后台管理项目

软件架构

软件架构说明

安装教程

  1. xxxx
  2. xxxx
  3. xxxx

使用说明

  1. xxxx
  2. xxxx
  3. xxxx

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

swagger

>  参考: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 在生成文档时解析外部依赖包)