21 lines
497 B
Markdown
21 lines
497 B
Markdown
# 基于Gin实现的登录注册示例
|
|
|
|
这是一个练手小项目, 适合初次接触go的小白
|
|
接口测试示例可以查看 `test.http` 文件
|
|
|
|
## ✨ 功能
|
|
|
|
- [x] 自动建表
|
|
- [x] 注册
|
|
- [x] 登录
|
|
- [x] 用户列表
|
|
- [x] 基于jwt token校验
|
|
|
|
## 📦️ 依赖
|
|
|
|
- [gin](https://github.com/gin-gonic/gin)
|
|
- [gin-jwt](https://github.com/appleboy/gin-jwt)
|
|
- [gorm](https://gorm.io/gorm)
|
|
- [viper](https://github.com/spf13/viper)
|
|
- [requestId](https://github.com/gin-contrib/requestid)
|