{"id":16834962,"url":"https://github.com/dchest/godbm","last_synced_at":"2026-04-02T02:48:07.752Z","repository":{"id":1461202,"uuid":"1697301","full_name":"dchest/godbm","owner":"dchest","description":"UNMAINTAINED, not written by me. Forked from tux21b to send pull request, but the original seem to be no longer available. /// A simple DBM package for Go","archived":false,"fork":false,"pushed_at":"2011-05-03T17:34:57.000Z","size":300,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T08:58:44.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/dchest.png","metadata":{"files":{"readme":"README","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}},"created_at":"2011-05-03T17:27:53.000Z","updated_at":"2021-05-06T03:48:41.000Z","dependencies_parsed_at":"2022-07-14T18:18:05.015Z","dependency_job_id":null,"html_url":"https://github.com/dchest/godbm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dchest/godbm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchest%2Fgodbm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchest%2Fgodbm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchest%2Fgodbm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchest%2Fgodbm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dchest","download_url":"https://codeload.github.com/dchest/godbm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchest%2Fgodbm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270899582,"owners_count":24664720,"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":"2025-08-17T02:00:09.016Z","response_time":129,"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":"2024-10-13T12:08:31.433Z","updated_at":"2026-04-02T02:48:07.716Z","avatar_url":"https://github.com/dchest.png","language":"Go","readme":"godbm - A fast and native DBM implementation for Go\n===================================================\n\nThe godbm package provides a native DBM like database similar to Berkley DB,\nQDBM or Kyota Cabinet.\n\nThis lightweight embedded database can only used by one process at a time, but\nthat's not a problem because Go programs are quite good a concurrency and if\nyou want to access the database from different hosts, you can provide a service\nusing the RPC package. The advantage of this approach is that you are not bound\nto an external DBMS and that the simple DBM provided by this package is\nextremely fast.\n\nTherefore godbm is the ideal solution if you want to build things like a\npersistent cache, a session store or when you need to find a way to persist\nthe mails for your own MDA!\n\nAttention: The godbm package is currently work in progress and the file format\nis likely to change in further versions. So do not use it for sensitive data\nyet!\n\n\nUsage\n-----\n\nTo use this package, you first have to install it using goinstall:\n\n    goinstall github.com/tux21b.org/godbm/\n\nAfter that, you can start writing your own program using godbm. For example:\n\n    package main\n\n    import (\n        \"github.com/tux21b/godbm\"\n        \"fmt\"\n    )\n\n    func main() {\n        db, err := godbm.Create(\"test.db\", 10)\n        if err != nil {\n            fmt.Println(\"Error:\", err)\n        }\n\n        if err = db.Set([]byte(\"foo\"), []byte(\"bar\")); err != nil {\n            fmt.Println(\"Error:\", err)\n        }\n\n        var data []byte\n        if data, err = db.Get([]byte(\"foo\")); err != nil {\n            fmt.Println(\"Error:\", err)\n        }\n        fmt.Printf(\"Data: %s\\n\", data)\n    }\n\nAdditional examples can be found in the file \"godbm_test.go\".\n\n\nStatus\n------\n\nThis is currently a very early draft and a lot of features are missing. The\nfile format might also change is further versions and backwards compatibility\nisn't a goal yet. But all kind of help or feedback is highly appreciated so do\nnot hesitate to contact me.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchest%2Fgodbm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdchest%2Fgodbm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchest%2Fgodbm/lists"}