做完了一部分,备份一下,防止以外删除
This commit is contained in:
@@ -112,6 +112,11 @@
|
||||
- [ ] Unified error codes defined in `pkg/errors/`
|
||||
- [ ] Unified API responses via `pkg/response/`
|
||||
- [ ] All constants defined in `pkg/constants/` (no magic numbers/strings)
|
||||
- [ ] **No hardcoded values: 3+ identical literals must become constants**
|
||||
- [ ] **Defined constants must be used (no duplicate hardcoding)**
|
||||
- [ ] **Code comments prefer Chinese (implementation comments in Chinese)**
|
||||
- [ ] **Log messages use Chinese (logger.Info/Warn/Error/Debug in Chinese)**
|
||||
- [ ] **Error messages support Chinese (user-facing errors have Chinese text)**
|
||||
- [ ] All Redis keys managed via `pkg/constants/` key generation functions
|
||||
- [ ] Package structure is flat, organized by feature (not by layer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user