feat: 定义用户模块 User 模型与 Repository 层 #94
Owner
- 新增 User 结构体(models 层)
- 定义 UserRepository 接口(Create/FindByUsername/FindByID/RefreshToken CRUD)
- 实现 PostgreSQL UserRepository(pgxpool)
- 实现内存 UserRepository(sync.RWMutex,测试用)
- 编写 UserRepository 单元测试(6 个用例,全部通过)
- 新增 User 结构体(models 层)
- 定义 UserRepository 接口(Create/FindByUsername/FindByID/RefreshToken CRUD)
- 实现 PostgreSQL UserRepository(pgxpool)
- 实现内存 UserRepository(sync.RWMutex,测试用)
- 编写 UserRepository 单元测试(6 个用例,全部通过)
huanghaosheng
added 5 commits 2026-06-14 17:03:40 +08:00
Merge pull request 'feat: 定义用户模块 User 模型与 Repository 层' (#94) from feature/user-mode-phase2 into develop
Reference in New Issue
Block a user
Delete Branch "feature/user-mode-phase2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?