{"id":16672975,"url":"https://github.com/euskadi31/go-worker","last_synced_at":"2025-06-27T04:34:12.344Z","repository":{"id":37589951,"uuid":"148473163","full_name":"euskadi31/go-worker","owner":"euskadi31","description":"Pool Worker in Go","archived":false,"fork":false,"pushed_at":"2025-05-05T05:56:29.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T06:35:18.527Z","etag":null,"topics":["go","golang","golang-library","pool-worker","worker","worker-pool","workers"],"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/euskadi31.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-09-12T11:59:17.000Z","updated_at":"2025-05-05T05:56:32.000Z","dependencies_parsed_at":"2023-12-18T07:25:08.396Z","dependency_job_id":"7bb85776-7ca2-4d7e-8482-f07581a33703","html_url":"https://github.com/euskadi31/go-worker","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euskadi31","download_url":"https://codeload.github.com/euskadi31/go-worker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254003420,"owners_count":21997886,"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":["go","golang","golang-library","pool-worker","worker","worker-pool","workers"],"created_at":"2024-10-12T12:23:58.692Z","updated_at":"2025-05-13T18:32:37.938Z","avatar_url":"https://github.com/euskadi31.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Worker [![Last release](https://img.shields.io/github/release/euskadi31/go-worker.svg)](https://github.com/euskadi31/go-worker/releases/latest) [![Documentation](https://godoc.org/github.com/euskadi31/go-worker?status.svg)](https://godoc.org/github.com/euskadi31/go-worker)\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/euskadi31/go-worker)](https://goreportcard.com/report/github.com/euskadi31/go-worker)\n\n| Branch | Status                                                                                                                                              | Coverage                                                                                                                                       |\n| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |\n| master | [![Go](https://github.com/euskadi31/go-worker/actions/workflows/go.yml/badge.svg)](https://github.com/euskadi31/go-worker/actions/workflows/go.yml) | [![Coveralls](https://img.shields.io/coveralls/euskadi31/go-worker/master.svg)](https://coveralls.io/github/euskadi31/go-worker?branch=master) |\n\nPool Worker fo Golang\n\n## Example\n\n```go\nimport (\n    \"fmt\"\n\n    \"github.com/euskadi31/go-worker\"\n)\n\npool := worker.New(10, 100, func(payload interface{}) {\n    val := payload.(int)\n\n    fmt.Printf(\"Val: %d\", val * val)\n})\n\npool.Start()\n\npool.Enqueue(1)\n\npool.Close()\n\n```\n\n## License\n\ngo-worker is licensed under [the MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuskadi31%2Fgo-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuskadi31%2Fgo-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuskadi31%2Fgo-worker/lists"}