{"id":37850214,"url":"https://github.com/nickalie/go-queue","last_synced_at":"2026-01-16T16:10:53.345Z","repository":{"id":57497311,"uuid":"89387899","full_name":"nickalie/go-queue","owner":"nickalie","description":"Multi backend queues for Golang","archived":false,"fork":false,"pushed_at":"2018-08-06T12:14:14.000Z","size":29,"stargazers_count":19,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-19T04:21:22.976Z","etag":null,"topics":["distributed-systems","golang","queue"],"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/nickalie.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":"2017-04-25T17:24:34.000Z","updated_at":"2023-12-13T21:46:16.000Z","dependencies_parsed_at":"2022-09-03T23:52:00.765Z","dependency_job_id":null,"html_url":"https://github.com/nickalie/go-queue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nickalie/go-queue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickalie%2Fgo-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickalie%2Fgo-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickalie%2Fgo-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickalie%2Fgo-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickalie","download_url":"https://codeload.github.com/nickalie/go-queue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickalie%2Fgo-queue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["distributed-systems","golang","queue"],"created_at":"2026-01-16T16:10:53.246Z","updated_at":"2026-01-16T16:10:53.324Z","avatar_url":"https://github.com/nickalie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Queue\nMulti backend queues for Golang\n\n\n[![](https://img.shields.io/badge/docs-godoc-blue.svg)](https://godoc.org/github.com/nickalie/go-queue)\n[![](https://circleci.com/gh/nickalie/go-queue.png?circle-token=12e613097830e35d6a5426361f2783cd4331f709)](https://circleci.com/gh/nickalie/go-queue)\n[![codecov](https://codecov.io/gh/nickalie/go-queue/branch/master/graph/badge.svg)](https://codecov.io/gh/nickalie/go-queue)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/3ab58d8ce189430cac752b26465350d2)](https://www.codacy.com/app/nickalie/go-queue?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=nickalie/go-queue\u0026amp;utm_campaign=Badge_Grade)[![Go Report Card](https://goreportcard.com/badge/github.com/nickalie/go-queue)](https://goreportcard.com/report/github.com/nickalie/go-queue)\n\n## Install\n\n```go get -u github.com/nickalie/go-queue```\n\n## Example of usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/nickalie/go-queue\"\n\t\"time\"\n)\n\nfunc main() {\n\tfor i := 0; i \u003c 5; i++ {\n\t\tgo consumer(i + 1)\n\t}\n\n\tproducer()\n}\n\nfunc producer() {\n\ti := 0\n\tfor {\n\t\ti++\n\t\tqueue.Put(\"messages\", fmt.Sprintf(\"message %d\", i))\n\t\ttime.Sleep(time.Second)\n\t}\n}\n\nfunc consumer(index int) {\n\tfor {\n\t\tvar message string\n\t\tqueue.Get(\"messages\", \u0026message)\n\n\t\tfmt.Printf(\"Consumer %d got a message: %s\\n\", index, message)\n\t\ttime.Sleep(2 * time.Second)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickalie%2Fgo-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickalie%2Fgo-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickalie%2Fgo-queue/lists"}