{"id":26633182,"url":"https://github.com/garugaru/go-batcher","last_synced_at":"2026-07-26T10:31:56.898Z","repository":{"id":94819395,"uuid":"544000514","full_name":"GaruGaru/go-batcher","owner":"GaruGaru","description":"High performance, easy to use batcher written in Go with generics™","archived":false,"fork":false,"pushed_at":"2022-12-30T16:42:17.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-08T00:13:01.238Z","etag":null,"topics":["batch-processing","batcher","generics-in-golang","golang","golang-library"],"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/GaruGaru.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}},"created_at":"2022-10-01T11:23:24.000Z","updated_at":"2022-10-01T12:27:07.000Z","dependencies_parsed_at":"2023-06-26T02:16:28.167Z","dependency_job_id":null,"html_url":"https://github.com/GaruGaru/go-batcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GaruGaru/go-batcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgo-batcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgo-batcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgo-batcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgo-batcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaruGaru","download_url":"https://codeload.github.com/GaruGaru/go-batcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgo-batcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35911748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-26T02:00:06.503Z","response_time":89,"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":["batch-processing","batcher","generics-in-golang","golang","golang-library"],"created_at":"2025-03-24T15:13:58.434Z","updated_at":"2026-07-26T10:31:56.882Z","avatar_url":"https://github.com/GaruGaru.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-batcher  [![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov]\n\nHigh performance, easy to use batcher written in Go with generics™.\n\n## Installation\n\n`go get -u github.com/garugaru/go-batcher`\n\n## Quick Start\n\n```go\nbatch := batcher.NewBatcher[string](\n\tbatcher.Emit[string](\n\t\tbatcher.Every(100*time.Millisecond),\n\t),\n\tbatcher.Process(func(items []string) error {\n\t\tfmt.Println(strings.Join(items, \",\"))\n\t\treturn nil\n\t}),\n)\n\nbatch.Start(context.Background())\n\nbatch.Accumulate(\"hello\", \"world\", \"!\") \n\nif err := batch.Wait(); err != nil {\n\tpanic(err)\n}\n```\n\n[ci-img]: https://github.com/garugaru/go-batcher/actions/workflows/tests.yml/badge.svg\n[cov-img]: https://codecov.io/gh/garugaru/go-batcher/branch/master/graph/badge.svg\n[ci]: https://github.com/garugaru/go-batcher/actions/workflows/tests.yml\n[cov]: https://codecov.io/gh/garugaru/go-batcher","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarugaru%2Fgo-batcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarugaru%2Fgo-batcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarugaru%2Fgo-batcher/lists"}