|
|
il y a 2 ans | |
|---|---|---|
| conf | il y a 2 ans | |
| constvar | il y a 2 ans | |
| controllers | il y a 2 ans | |
| docs | il y a 2 ans | |
| extend | il y a 2 ans | |
| middleware | il y a 2 ans | |
| models | il y a 2 ans | |
| pkg | il y a 2 ans | |
| request | il y a 2 ans | |
| response | il y a 2 ans | |
| router | il y a 2 ans | |
| service | il y a 2 ans | |
| utils | il y a 2 ans | |
| .gitignore | il y a 2 ans | |
| Makefile | il y a 2 ans | |
| README.md | il y a 2 ans | |
| go.mod | il y a 2 ans | |
| go.sum | il y a 2 ans | |
| main.go | il y a 2 ans |
基于 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