# go-generics-cache

A key:value store/cache library written in Go generics. LRU, LFU, FIFO, MRU, Clock support.

Canonical page: https://www.reposhelf.co.uk/projects/github/code-hex/go-generics-cache.html

- Project ID: Code-Hex/go-generics-cache
- Source: GitHub
- Original project: https://github.com/Code-Hex/go-generics-cache
- Description attribution: project author metadata
- Categories: Other
- Technologies: Go
- Licence: MIT
- Repository availability checked: 2026-11-23T13:11:14.783Z
- Demo page loaded: 2026-11-20T19:20:41.584Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> go-generics-cache is an in-memory key:value store/cache that is suitable for applications running on a single machine. This in-memory cache uses Go Generics which is introduced in 1.18.

- implemented with Go Generics
- TTL supported \(with expiration times\)
- Simple cache is like map\[string\]interface\{\}
- Cache replacement policies
- Least recently used \(LRU\)

## Author-documented requirements and audience

> go-generics-cache is an in-memory key:value store/cache that is suitable for applications running on a single machine. This in-memory cache uses Go Generics which is introduced in 1.18.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/Code-Hex/go-generics-cache/blob/main/README.md

Extraction checked: 2026-10-28T14:03:09.532Z

Last recorded source update: 2025-01-26T02:59:57.000Z

Saved release: v1.5.1 — 2024-04-15T10:55:51.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=Code-Hex%2Fgo-generics-cache). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
