AI AGENT ADDONS

Golang Samber Hot

samber/cc-skills-golang
Programming Languages
32,678installs

When your Go application loads the same data over and over, it can slow down. Caching stores that data in memory so future requests are faster. The samber/hot library gives you nine different ways to decide which data stays and which gets removed.

You can pick an eviction algorithm like LRU, LFU, or W-TinyLFU based on your access pattern. The library also supports TTL (time to live) so data expires automatically. It handles cache misses with a loader pattern that fetches missing keys only once. This reduces pressure on your backend systems.

For monitoring, Prometheus metrics are built in. Use this skill when your project loads the same medium-to-low cardinality resources at high frequency. It helps lower latency and improve performance.

Add Golang Samber Hot skill to your workflow

Global

mkdir -p ~/.claude/skills/golang-samber-hot

Project

mkdir -p .claude/skills/golang-samber-hot

Source Repository

Stars
2,322
Forks
149
Watchers
2,322
License
MIT
Last Push
28 days ago
Created
4 months ago