feat(auth): 添加完整的用户认证API项目
- 实现用户注册、登录、JWT令牌认证功能 - 集成Gin、GORM、Viper、Zap等框架 - 添加密码加密、数据库操作、中间件等完整功能 - 配置多环境支持、日志轮转、CORS处理 - 创建完整的项目结构和配置文件体系
This commit is contained in:
10
Web开发/04go-viper-demo/config.json
Normal file
10
Web开发/04go-viper-demo/config.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"app": {
|
||||
"name": "MyApp",
|
||||
"port": 8080
|
||||
},
|
||||
"database": {
|
||||
"host": "localhost",
|
||||
"port": 3306
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user