做完了一部分,备份一下,防止以外删除
This commit is contained in:
@@ -50,6 +50,11 @@
|
||||
- [ ] Unified API responses via `pkg/response/`
|
||||
- [ ] All constants defined in `pkg/constants/`
|
||||
- [ ] All Redis keys managed via key generation functions (no hardcoded strings)
|
||||
- [ ] **No hardcoded magic numbers or strings (3+ occurrences must be constants)**
|
||||
- [ ] **Defined constants are used instead of hardcoding duplicate values**
|
||||
- [ ] **Code comments prefer Chinese for readability (implementation comments in Chinese)**
|
||||
- [ ] **Log messages use Chinese (Info/Warn/Error/Debug logs in Chinese)**
|
||||
- [ ] **Error messages support Chinese (user-facing errors have Chinese messages)**
|
||||
- [ ] All exported functions/types have Go-style doc comments
|
||||
- [ ] Code formatted with `gofmt`
|
||||
- [ ] Follows Effective Go and Go Code Review Comments
|
||||
|
||||
Reference in New Issue
Block a user