{"id":27515697,"url":"https://github.com/svelama/datastore","last_synced_at":"2025-09-09T11:12:43.689Z","repository":{"id":288141027,"uuid":"966642435","full_name":"svelama/datastore","owner":"svelama","description":"datastore implements a simple key value storage, demonstrates generics, thread safe storage, and repository pattern for multiple storage backends","archived":false,"fork":false,"pushed_at":"2025-04-15T18:26:42.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T19:37:54.981Z","etag":null,"topics":["golang-examples","golang-generics","mutex-synchronisation","repository-pattern","thread-safe"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svelama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-04-15T08:30:17.000Z","updated_at":"2025-04-15T18:26:46.000Z","dependencies_parsed_at":"2025-04-15T19:38:12.782Z","dependency_job_id":"18ba024d-9676-45aa-a194-25a251730f82","html_url":"https://github.com/svelama/datastore","commit_stats":null,"previous_names":["svelama/datastore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelama%2Fdatastore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelama%2Fdatastore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelama%2Fdatastore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelama%2Fdatastore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svelama","download_url":"https://codeload.github.com/svelama/datastore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249404347,"owners_count":21265796,"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","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":["golang-examples","golang-generics","mutex-synchronisation","repository-pattern","thread-safe"],"created_at":"2025-04-18T01:18:05.454Z","updated_at":"2025-04-18T01:18:05.811Z","avatar_url":"https://github.com/svelama.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DataStore\n\nA simple thread-safe, key-value store implementation in Go with support for multiple storage backends and data types.\n\n\u003e **Note**: This sample project serves as a demonstration of implementing a simple data store using `Go generics`, `thread-safety with mutexes, and the repository pattern for extensibility`. It is intended as an educational resource showcasing different implementation approaches rather than a production-ready library.\n\n## Implementation Files\n\n- [`/basic/data-store.go`](https://github.com/svelama/datastore/blob/main/basic/data-store.go) - Basic mutex-based implementation\n- [`/multiple-storage-backends/data-store.go`](https://github.com/svelama/datastore/blob/main/multiple-storage-backends/data-store.go) - Repository interface and DataStore implementation\n- [`/multiple-storage-backends/map-repository.go`](https://github.com/svelama/datastore/blob/main/multiple-storage-backends/map-repository.go) - Map-based repository implementation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvelama%2Fdatastore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvelama%2Fdatastore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvelama%2Fdatastore/lists"}