You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix remaining golangci-lint issues:
Field Alignment:
- Reorder Cache struct: pointers first (store, logger), then map, then RWMutex
- This ordering reduces struct size from 48 to 24 pointer bytes
- Aligns with Go's memory layout optimization requirements
Spelling:
- Fix 'cancelled' → 'canceled' in test comment
- Maintains consistent American English spelling throughout codebase
Both issues were caught by golangci-lint v1.64 fieldalignment and misspell linters.
0 commit comments