go-cache
Installation
SKILL.md
Go Cache
Generate two files for every cache: a port interface and a Redis-backed implementation.
When to Use
- Create a cache layer for any module
- Redis-backed TTL storage (OTP, sessions, OAuth state)
- Rate limiting storage
- Boolean flag caching (existence checks)
- JSON data caching (structured objects)
Which Variant?
Pick before writing anything: