{"id":20673654,"url":"https://github.com/yiplee/go-cache","last_synced_at":"2026-04-24T07:34:27.569Z","repository":{"id":43941876,"uuid":"511820767","full_name":"yiplee/go-cache","owner":"yiplee","description":"go-cache is a simple, fast, and efficient in-memory cache written in Go.","archived":false,"fork":false,"pushed_at":"2022-07-16T13:35:49.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T15:58:01.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiplee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-08T08:28:32.000Z","updated_at":"2022-07-29T08:59:14.000Z","dependencies_parsed_at":"2022-09-09T20:01:40.085Z","dependency_job_id":null,"html_url":"https://github.com/yiplee/go-cache","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/yiplee/go-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiplee%2Fgo-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiplee%2Fgo-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiplee%2Fgo-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiplee%2Fgo-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiplee","download_url":"https://codeload.github.com/yiplee/go-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiplee%2Fgo-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32214418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T20:42:10.720Z","updated_at":"2026-04-24T07:34:27.549Z","avatar_url":"https://github.com/yiplee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-cache\n\ngo-cache is a simple, fast, and efficient in-memory cache written in Go.\n\n### Installation\n\n```bash\ngo get github.com/yiplee/go-cache\n```\n\n### Example\n\n```go \npackage cache-example\n\nimport (\n    \"fmt\"\n    \"github.com/yiplee/go-cache\"\n)\n\nfunc main() {\n    cache := cache.New[string]()\n    cache.Set(\"key\", \"value\", cache.WithTTL(10 * time.Second))\n    value, ok := cache.Get(\"key\")\n    fmt.Println(value, ok)\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiplee%2Fgo-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiplee%2Fgo-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiplee%2Fgo-cache/lists"}