{"id":29806740,"url":"https://github.com/sysatom/go_bloom_filter","last_synced_at":"2025-07-28T14:13:33.825Z","repository":{"id":57518680,"uuid":"248425192","full_name":"sysatom/go_bloom_filter","owner":"sysatom","description":"A Simple Bloom Filter for Go","archived":false,"fork":false,"pushed_at":"2020-03-19T07:44:17.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T16:11:12.517Z","etag":null,"topics":["bloom-filter","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sysatom.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":"2020-03-19T06:14:04.000Z","updated_at":"2020-03-19T07:44:19.000Z","dependencies_parsed_at":"2022-09-26T18:01:45.426Z","dependency_job_id":null,"html_url":"https://github.com/sysatom/go_bloom_filter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sysatom/go_bloom_filter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysatom%2Fgo_bloom_filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysatom%2Fgo_bloom_filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysatom%2Fgo_bloom_filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysatom%2Fgo_bloom_filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sysatom","download_url":"https://codeload.github.com/sysatom/go_bloom_filter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysatom%2Fgo_bloom_filter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267528000,"owners_count":24102031,"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-07-28T02:00:09.689Z","response_time":68,"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":["bloom-filter","golang"],"created_at":"2025-07-28T14:13:31.055Z","updated_at":"2025-07-28T14:13:33.810Z","avatar_url":"https://github.com/sysatom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Simple Bloom Filter for Go\n\n[![Build Status](https://travis-ci.org/sysatom/go-bloom-filter.svg?branch=master)](https://travis-ci.org/sysatom/go-bloom-filter)\n\n### Install\n\n```bash\ngo get github.com/sysatom/go_bloom_filter\n```\n\n### Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/sysatom/go_bloom_filter\"\n)\n\nfunc main() {\n\tbf := go_bloom_filter.NewBloomFilter(100000, 7)\n\tfor i := 0; i \u003c 5000; i++ {\n\t\tbf.Add(fmt.Sprintf(\"%d\", i))\n\t}\n\tfmt.Println(bf.Lookup(\"333\"))\n\tfmt.Println(bf.Lookup(\"100000\"))\n\tfmt.Println(bf.Lookup(\"500001\"))\n\tfmt.Println(bf.Lookup(\"510001\"))\n}\n```\n\n### Requirements\n\nThis project requires Go 1.14 or newer.\n\n### License\n\nYou can find the license for this code in [the LICENSE file](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysatom%2Fgo_bloom_filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsysatom%2Fgo_bloom_filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysatom%2Fgo_bloom_filter/lists"}