No Description

root ea8903aade Initial commit or whatever message you want 7 hours ago
cache 89097e9617 Initial commit or whatever message you want 1 day ago
controller ea8903aade Initial commit or whatever message you want 7 hours ago
middleware ea8903aade Initial commit or whatever message you want 7 hours ago
model 89097e9617 Initial commit or whatever message you want 1 day ago
response 89097e9617 Initial commit or whatever message you want 1 day ago
router ea8903aade Initial commit or whatever message you want 7 hours ago
sdk 89097e9617 Initial commit or whatever message you want 1 day ago
sdk.bak ea8903aade Initial commit or whatever message you want 7 hours ago
service ea8903aade Initial commit or whatever message you want 7 hours ago
tests 89097e9617 Initial commit or whatever message you want 1 day ago
util 89097e9617 Initial commit or whatever message you want 1 day ago
validators ea8903aade Initial commit or whatever message you want 7 hours ago
.DS_Store 89097e9617 Initial commit or whatever message you want 1 day ago
.deploy.sh.swp 89097e9617 Initial commit or whatever message you want 1 day ago
.gitignore 89097e9617 Initial commit or whatever message you want 1 day ago
Dockerfile 89097e9617 Initial commit or whatever message you want 1 day ago
README.md ea8903aade Initial commit or whatever message you want 7 hours ago
build.sh 89097e9617 Initial commit or whatever message you want 1 day ago
deploy.sh 89097e9617 Initial commit or whatever message you want 1 day ago
go.mod ea8903aade Initial commit or whatever message you want 7 hours ago
go.sum ea8903aade Initial commit or whatever message you want 7 hours ago
go.sum.bak ea8903aade Initial commit or whatever message you want 7 hours ago
main.go ea8903aade Initial commit or whatever message you want 7 hours ago
redis.go ea8903aade Initial commit or whatever message you want 7 hours ago

README.md

服务说明

服务使用 Gin + Gorm 开发

核心功能包括:问卷、问卷授权、定制体检等功能

部署方式

Shell 脚本部署

bash deploy.sh

重点文件说明

./build.sh

Golang 服务打包脚本

.env

配置文件

/validators

该目录存储的是所有接口暴露的 Response 响应结构体

目录说明

目录结构遵循 Gin 框架标准

本地运行

  1. 安装 Golang

  2. 执行go mod tidy

  3. 执行go run main.go