{"id":19450996,"url":"https://github.com/beastop/bloomfilter","last_synced_at":"2025-02-25T09:24:30.599Z","repository":{"id":248502138,"uuid":"828868679","full_name":"beastOP/bloomfilter","owner":"beastOP","description":"BloomFilter is a simple and efficient implementation of a Bloom filter in Go.","archived":false,"fork":false,"pushed_at":"2024-07-15T10:44:00.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T23:49:32.849Z","etag":null,"topics":["algorithms","bloom-filter","bloomfilter","bloomfilter-go","data-structures","go","golang"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/beastop/bloomfilter","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/beastOP.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-15T09:37:34.000Z","updated_at":"2024-07-15T10:44:04.000Z","dependencies_parsed_at":"2024-07-15T11:38:55.711Z","dependency_job_id":"cc196aad-5792-4125-a352-24b01ac483db","html_url":"https://github.com/beastOP/bloomfilter","commit_stats":null,"previous_names":["beastop/bloomfilter"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastOP%2Fbloomfilter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastOP%2Fbloomfilter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastOP%2Fbloomfilter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastOP%2Fbloomfilter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beastOP","download_url":"https://codeload.github.com/beastOP/bloomfilter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240638497,"owners_count":19833298,"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":["algorithms","bloom-filter","bloomfilter","bloomfilter-go","data-structures","go","golang"],"created_at":"2024-11-10T16:39:49.927Z","updated_at":"2025-02-25T09:24:30.526Z","avatar_url":"https://github.com/beastOP.png","language":"Go","readme":"# BloomFilter\n\n[![Build Status](https://github.com/beastop/bloomfilter/actions/workflows/go.yml/badge.svg)](https://github.com/beastop/bloomfilter/actions)\n[![GoDoc](https://pkg.go.dev/badge/github.com/beastop/bloomfilter.svg)](https://pkg.go.dev/github.com/beastop/bloomfilter)\n\nBloomFilter is a simple and efficient implementation of a Bloom filter in Go.\n\n## Installation\n\nTo install the package, run:\n```sh\ngo get github.com/beastop/bloomfilter\n```\n\n## Usage\n\n### Creating a Bloom Filter\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/beastop/bloomfilter\"\n)\n\nfunc main() {\n\t// Create a new Bloom filter\n\tbloom, err := bloomfilter.New(100, 0.01)\n\tif err != nil {\n\t\tfmt.Println(\"Error:\", err)\n\t\treturn\n\t}\n\n\t// Add items to the Bloom filter\n\tbloom.Add(\"foo\")\n\tbloom.Add(\"bar\")\n\n\t// Check if items are in the Bloom filter\n\tfmt.Println(\"foo in bloom filter:\", bloom.Contains(\"foo\"))\n\tfmt.Println(\"baz in bloom filter:\", bloom.Contains(\"baz\"))\n}\n```\n\n## Documentation\n\nFor detailed API documentation, please visit the [GoDoc](https://pkg.go.dev/github.com/beastop/bloomfilter).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeastop%2Fbloomfilter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeastop%2Fbloomfilter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeastop%2Fbloomfilter/lists"}