WeKnora/internal/middleware
DJ 8b160bba15 fix: use typed context key instead of string literal- Add UserContextKey constant to types package- Replace bare string 'user' with types.UserContextKey in auth middleware- Update user service to use UserContextKey for context value retrieval- Fixes staticcheck SA1029 warningThis prevents potential context key collisions. 2026-01-21 19:12:24 +08:00
..
auth.go fix: use typed context key instead of string literal- Add UserContextKey constant to types package- Replace bare string 'user' with types.UserContextKey in auth middleware- Update user service to use UserContextKey for context value retrieval- Fixes staticcheck SA1029 warningThis prevents potential context key collisions. 2026-01-21 19:12:24 +08:00
error_handler.go init commit 2025-08-05 15:08:07 +08:00
logger.go refactor: Sanitize log inputs across various handlers to enhance security 2025-11-25 23:33:34 +08:00
recovery.go init commit 2025-08-05 15:08:07 +08:00
trace.go refactor: Update tenant ID handling across the application 2025-11-25 16:30:54 +08:00