Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LRU cache

lru.go

Run the Go Lru test next to the implementation for concrete examples.

A small fixed-capacity LRU cache with zero dependencies.

Go Lru relies solely on the Go standard library — no external services, no dependencies to install, nothing to configure. You just drop it into your project and start using it.

import "github.com/example/golru"

cache := golru.New(100)
cache.Set("key", "value")
v, ok := cache.Get("key")

About

A small fixed-capacity LRU cache — no dependencies.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages