附近小店
 
 
 
huangjiajun 635de121a8 1 3 months ago
.idea 1 3 months ago
app 1 3 months ago
bin 1 3 months ago
cmd/task 1 3 months ago
docs 1 3 months ago
etc 1 3 months ago
flags 1 3 months ago
k8s 1 3 months ago
pkg 1 3 months ago
static 1 3 months ago
test 1 3 months ago
tmp 1 3 months ago
.gitignore 1 3 months ago
Dockerfile 1 3 months ago
Dockerfile-prd 1 3 months ago
Dockerfile-task 1 3 months ago
Makefile 1 3 months ago
README.md 1 3 months ago
applet.sql 1 3 months ago
build.sh 1 3 months ago
cmd_db.bat 1 3 months ago
cmd_db.sh 1 3 months ago
cmd_run.bat 1 3 months ago
cmd_run.sh 1 3 months ago
cmd_task.bat 1 3 months ago
cmd_task.sh 1 3 months ago
go.mod 1 3 months ago
go.sum 1 3 months ago
main.go 1 3 months ago
wap.conf 1 3 months ago
zyos-mall-deployment.yaml 1 3 months ago

README.md

applet

要看 nginx.conf 和 wap conf

层级介绍

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

介绍

基于gin的接口小程序

软件架构

软件架构说明

安装教程

  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
// 安装命令行
go get -u github.com/swaggo/swag/cmd/swag
// 生成
swag init