|
|
hace 2 años | |
|---|---|---|
| conf | hace 2 años | |
| constvar | hace 2 años | |
| controllers | hace 2 años | |
| docs | hace 2 años | |
| extend | hace 2 años | |
| middleware | hace 2 años | |
| models | hace 2 años | |
| pkg | hace 2 años | |
| request | hace 2 años | |
| response | hace 2 años | |
| router | hace 2 años | |
| service | hace 2 años | |
| utils | hace 2 años | |
| .gitignore | hace 2 años | |
| Makefile | hace 2 años | |
| README.md | hace 2 años | |
| go.mod | hace 2 años | |
| go.sum | hace 2 años | |
| main.go | hace 2 años |
基于 GIN + JWT + Gorm 开发。
RESTful API 设计规范 & 基于接口的编程规范GIN 框架Gorm 的数据库访问层 - 全功能 ORMJWT 的用户认证 -- 基于 JWT 的黑名单验证机制go mod 的依赖管理(国内源可使用:https://goproxy.cn/)请按需更改conf目录下config.yaml
root:c++java123@tcp(192.168.20.119:3306)/speech_analysis?charset=utf8&parseTime=True&loc=Local./logs/server.log$ cd speechAnalysis
# 配置国内代理(可选)
$ export GOPROXY=https://goproxy.cn
$ go build -v
$ ./speechAnalysis