Registry / utility / goburrow-cache

goburrow-cache

JSON →
library0.1.4gogounverified

Provides in-memory cache implementations including LRU, Segmented LRU, and TinyLFU, inspired by Guava Cache.

go get github.com/goburrow/cache
INSTALL
IMPORT
SIG · GOBURROW-CACHE
G
goburrow-cache
utilitygov0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cache
github.com/goburrow/cache

Create a cache, store and retrieve a value.

package main import ( "fmt" "github.com/goburrow/cache" ) func main() { c := cache.New(cache.WithMaximumSize(100)) c.Put("key", "value") val, _ := c.GetIfPresent("key") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
goburrow-cache — go get goburrow-cache · libregistry