{"id":35672344,"url":"https://github.com/bborbe/memorykv","last_synced_at":"2026-01-05T19:03:49.583Z","repository":{"id":219858294,"uuid":"749915480","full_name":"bborbe/memorykv","owner":"bborbe","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-05T22:34:10.000Z","size":6227,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-09T12:30:20.026Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bborbe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-29T16:43:17.000Z","updated_at":"2025-12-05T22:34:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"90ca5470-85c4-4a3c-a891-d98a57075916","html_url":"https://github.com/bborbe/memorykv","commit_stats":null,"previous_names":["bborbe/memorykv"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/bborbe/memorykv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fmemorykv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fmemorykv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fmemorykv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fmemorykv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bborbe","download_url":"https://codeload.github.com/bborbe/memorykv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fmemorykv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28218057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2026-01-05T02:00:06.358Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2026-01-05T19:02:01.896Z","updated_at":"2026-01-05T19:03:46.085Z","avatar_url":"https://github.com/bborbe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# memorykv\n\nIn-memory key-value store implementing `github.com/bborbe/kv` interface.\n\n## Installation\n\n```bash\ngo get github.com/bborbe/memorykv\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"github.com/bborbe/kv/libkv\"\n    \"github.com/bborbe/memorykv\"\n)\n\nfunc main() {\n    ctx := context.Background()\n    \n    // Open in-memory database\n    db, err := memorykv.OpenMemory(ctx)\n    if err != nil {\n        panic(err)\n    }\n    defer db.Close(ctx)\n    \n    // Use within transactions\n    err = db.Update(ctx, func(ctx context.Context, tx libkv.Tx) error {\n        bucket, err := tx.CreateBucketIfNotExists(ctx, []byte(\"my-bucket\"))\n        if err != nil {\n            return err\n        }\n        return bucket.Put(ctx, []byte(\"key\"), []byte(\"value\"))\n    })\n}\n```\n\nPerfect for testing and development where you need a lightweight, ephemeral key-value store that's compatible with other `github.com/bborbe/kv` implementations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbborbe%2Fmemorykv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbborbe%2Fmemorykv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbborbe%2Fmemorykv/lists"}