附近小店
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.
 
 
 
huangjiajun 69d86515e8 1 3 days ago
.idea 1 1 month ago
app 1 3 days ago
bin 1 2 months ago
cmd/task 1 2 months ago
docs 1 2 months ago
etc 1 2 months ago
flags 1 2 months ago
k8s 1 1 month ago
pkg 1 2 months ago
static 1 2 months ago
test 1 2 months ago
tmp 1 2 months ago
.gitignore 1 2 months ago
Dockerfile 1 2 months ago
Dockerfile-prd 1 2 months ago
Dockerfile-task 1 2 months ago
Makefile 1 2 months ago
README.md 1 2 months ago
applet.sql 1 2 months ago
build.sh 1 2 months ago
cmd_db.bat 1 2 months ago
cmd_db.sh 1 2 months ago
cmd_run.bat 1 2 months ago
cmd_run.sh 1 2 months ago
cmd_task.bat 1 2 months ago
cmd_task.sh 1 2 months ago
go.mod 1 2 months ago
go.sum 1 2 months ago
main.go 1 2 months ago
wap.conf 1 2 months ago
zyos-mall-deployment.yaml 1 2 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