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