Commit Graph

4 Commits

Author SHA1 Message Date
ryan b1f2241d0a perf: skill 2026-07-22 22:31:18 +08:00
ryan e0eb4e5975 prettier 2026-07-13 15:17:45 +08:00
ryan 953af7d8db refactor(util): move response helper to common/response and session logic to oauth
- Relocated generic HTTP response helpers (Response, OK, Err, etc.) from internal/util/ to a dedicated internal/common/response/ package.
- Renamed ResponseAny to Any to resolve revive stuttering warnings.
- Moved session building options and cookie headers logic from internal/util/ to internal/apps/oauth/.
- Removed all direct imports of Gin/Sessions/HTTP frameworks from internal/util/ to keep general utilities 100% pure.
- Regenerated Swagger API documentation via make swagger.
- All tests and make code-check compile and pass with 0 issues.
2026-06-15 16:39:55 +08:00
ryan 15b3c83625 更新示例 2026-06-10 15:11:42 +08:00