{"id":17129544,"url":"https://github.com/vladopajic/go-actor-examples","last_synced_at":"2025-08-10T16:41:53.702Z","repository":{"id":64298291,"uuid":"546528687","full_name":"vladopajic/go-actor-examples","owner":"vladopajic","description":"from zero to go-actor master","archived":false,"fork":false,"pushed_at":"2025-03-24T13:50:33.000Z","size":67,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T07:38:45.638Z","etag":null,"topics":["actor","actors","examples","go-actor","golang"],"latest_commit_sha":null,"homepage":"https://github.com/vladopajic/go-actor","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vladopajic.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,"zenodo":null}},"created_at":"2022-10-06T08:14:19.000Z","updated_at":"2025-04-08T00:05:11.000Z","dependencies_parsed_at":"2023-10-23T08:38:17.954Z","dependency_job_id":"ba453b49-2bf9-4953-b681-9ce7223bce31","html_url":"https://github.com/vladopajic/go-actor-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vladopajic/go-actor-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladopajic%2Fgo-actor-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladopajic%2Fgo-actor-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladopajic%2Fgo-actor-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladopajic%2Fgo-actor-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladopajic","download_url":"https://codeload.github.com/vladopajic/go-actor-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladopajic%2Fgo-actor-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269755304,"owners_count":24470531,"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-08-10T02:00:08.965Z","response_time":71,"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":["actor","actors","examples","go-actor","golang"],"created_at":"2024-10-14T19:09:54.029Z","updated_at":"2025-08-10T16:41:53.609Z","avatar_url":"https://github.com/vladopajic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-actor examples\n\n[![test](https://github.com/vladopajic/go-actor-examples/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/vladopajic/go-actor-examples/actions/workflows/test.yml)\n[![lint](https://github.com/vladopajic/go-actor-examples/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/vladopajic/go-actor-examples/actions/workflows/lint.yml)\n\n\nThis repository hosts various examples for [`go-actor`](https://github.com/vladopajic/go-actor).\n\n# How to use examples\n\nTo make the most out of this, read each example package found in the [/example](/example/) directory. Every example has a bootstrap.go file that sets up the logic and explains the idea behind the example. It is also advised to read other source files in the example directory (package).\n\nEach example can be executed with the following command:\n\n```bash\n# Use the following syntax to run a specific example:  \nmake run {example number}\n\nmake run 1\n```\n\n\n| Example   | Description |\n|-----------|------------|\n|  1 | Demonstrates how to create actors for a producer-consumer use case. |\n|  2 | Demonstrates how to fan-out a mailbox (an example with multiple consumers).  |\n|  3 | Demonstrates how to create actors with options. |\n|  4 | An improved Countdown actor, building on example 3.  |\n|  5 | Demonstrates when a producer-consumer case should end based on a specific condition. |\n|  6 | Builds on example 5, fixing an introduced issue (and puzzle). |\n|  7 | A small improvement to example 6. |\n|  8 | Explores a scenario where the producer is much faster than the consumer; introduces a new puzzle.  |\n|  9 | Provides the solution to the puzzle introduced in example 8.  |\n| 10 | Demonstrates how to stop a combined actor when the first actor ends. |\n| 11 | Create a custom actor (HTTPService) and seamlessly compose it with other actors. |\n\n\n## Contribution\n\nAll contributions are useful, whether it is a simple typo, a more complex change, or just pointing out an issue. We welcome any contribution so feel free to open PR or issue. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladopajic%2Fgo-actor-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladopajic%2Fgo-actor-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladopajic%2Fgo-actor-examples/lists"}