{"id":67029,"library":"mzack9999-gcache","title":"GCache","description":"An in-memory cache library for Go with TTL support.","status":"active","version":"0.0.0-20230410081825-519e28eab057","language":"go","source_language":null,"source_url":"https://github.com/Mzack9999/gcache","tags":["cache","lru","in-memory","ttl"],"install":[{"cmd":"go get github.com/Mzack9999/gcache","lang":"bash","label":"Install github.com/Mzack9999/gcache"}],"dependencies":[],"imports":[{"symbol":"gcache","correct":"github.com/Mzack9999/gcache"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/Mzack9999/gcache\"\n)\n\nfunc main() {\n\tcache := gcache.New(10).LRU().Build()\n\tcache.Set(\"key\", \"value\")\n\tval, _ := cache.Get(\"key\")\n\tfmt.Println(val)\n}","lang":"go","description":"Creates an LRU cache with capacity 10, sets and gets a value."},"warnings":[],"env_vars":null,"search_vec":"'cach':6,13 'gcach':1 'go':9 'in-memori':3,15 'librari':7 'lru':14 'memori':5,17 'support':12 'ttl':11,18","created_at":"2026-06-17T17:32:01.351000+00:00","updated_at":"2026-06-17T17:32:01.351000+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Mzack9999/gcache","github":"https://github.com/Mzack9999/gcache","docs":"https://pkg.go.dev/github.com/Mzack9999/gcache#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}