Categorygithub.com/weiwenchen2022/cache
repositorypackage
0.1.1
Repository: https://github.com/weiwenchen2022/cache.git
Documentation: pkg.go.dev

# README

cache

cache is like a Go sync.Map but with generic is safe for concurrent use by multiple goroutines without additional locking or coordination. Loads, stores, and deletes run in amortized constant time.

Installation

go get github.com/weiwenchen2022/cache

Reference

godoc or http://godoc.org/github.com/weiwenchen2022/cache