{"full_name":"patrickmn/go-cache","owner":"patrickmn","name":"go-cache","shard":"1","url":"https://github.com/patrickmn/go-cache","description":"An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.","homepage":"https://patrickmn.com/projects/go-cache/","topics":["go","cache","library"],"tag_pages":["cache","go","library"],"language":"Go","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/72885?u=a6baf7b477f9106e6e0ce004b701de22784ea45b&v=4","created_at":"2012-01-02T13:07:13Z","pushed_at":"2023-11-20T05:12:16Z","metrics":{"stars":8840,"forks":912,"watchers":109,"issues":102,"prs":95,"releases":1,"issues_open":44,"issues_closed":58,"prs_open":40,"prs_closed":49,"prs_merged":6,"discussions":0},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[8841,8842,8842,8842,8840,8840,8840],"forks":[911,911,911,911,911,912,912],"watchers":[null,109,109,109,109,109,109],"issues_open":[null,44,44,44,44,44,44],"prs_open":[null,40,40,40,40,40,40]},"boards":{},"same_owner":[],"issues":[{"number":5,"title":"Feature request: max size and/or max objects","comments":12,"created_at":"2012-11-18T14:44:13Z"},{"number":48,"title":"The OnEvicted function is not called if a value is re-set after expiration but before deletion","comments":9,"created_at":"2017-02-28T15:46:29Z"},{"number":136,"title":" can you release a version?","comments":6,"created_at":"2020-12-30T08:42:23Z"},{"number":166,"title":"goroutine leak at cache.go:1079 - `runJanitor`","comments":5,"created_at":"2023-03-06T22:47:59Z"},{"number":179,"title":"Add new method GetItemsAndFlush","comments":4,"created_at":"2024-09-04T01:12:21Z"},{"number":102,"title":"Can you support gomod","comments":4,"created_at":"2019-04-30T03:12:35Z"},{"number":65,"title":"best way to extend time on an not expired object?","comments":4,"created_at":"2017-08-04T08:16:45Z"},{"number":177,"title":"go incompatible version","comments":3,"created_at":"2024-04-03T22:43:56Z"}],"discussions":[],"latest_release":{"name":"2.1.0","tag":"v2.1.0","published_at":"2017-10-24T15:17:01Z","body":"  - Add `SetDefault(k string, x interface{})` for setting with the default expiration value\r\n  - Add `GetWithExpiration(k string) (interface{}, time.Time, bool)` for getting both the value and expiration time (thanks Alex Edwards)\r\n  - Fix janitor data race (thanks Vivian Mathews)","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}