{"id":16672957,"url":"https://github.com/euskadi31/go-eventemitter","last_synced_at":"2025-04-09T20:04:46.909Z","repository":{"id":38319373,"uuid":"115055471","full_name":"euskadi31/go-eventemitter","owner":"euskadi31","description":"go-eventemitter is the little and lightweight event emitter library for Go.","archived":false,"fork":false,"pushed_at":"2025-03-24T20:45:12.000Z","size":55,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T20:04:41.057Z","etag":null,"topics":["event","event-dispatcher","event-emitter","go","golang","golang-library","library","listener"],"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}},"created_at":"2017-12-21T23:14:07.000Z","updated_at":"2025-03-24T20:45:16.000Z","dependencies_parsed_at":"2024-02-12T10:30:45.765Z","dependency_job_id":"0ec9a78e-f4a2-4ddf-b080-c0d3dddcdd8a","html_url":"https://github.com/euskadi31/go-eventemitter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-eventemitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-eventemitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-eventemitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-eventemitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euskadi31","download_url":"https://codeload.github.com/euskadi31/go-eventemitter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103868,"owners_count":21048245,"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":["event","event-dispatcher","event-emitter","go","golang","golang-library","library","listener"],"created_at":"2024-10-12T12:23:51.520Z","updated_at":"2025-04-09T20:04:46.886Z","avatar_url":"https://github.com/euskadi31.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Go Event Emitter [![Last release](https://img.shields.io/github/release/euskadi31/go-eventemitter.svg)](https://github.com/euskadi31/go-eventemitter/releases/latest) [![Documentation](https://godoc.org/github.com/euskadi31/go-eventemitter?status.svg)](https://godoc.org/github.com/euskadi31/go-eventemitter)\n================\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/euskadi31/go-eventemitter)](https://goreportcard.com/report/github.com/euskadi31/go-eventemitter)\n\n| Branch  | Status | Coverage |\n|---------|--------|----------|\n| master  | [![Build Status](https://img.shields.io/travis/euskadi31/go-eventemitter/master.svg)](https://travis-ci.org/euskadi31/go-eventemitter) | [![Coveralls](https://img.shields.io/coveralls/euskadi31/go-eventemitter/master.svg)](https://coveralls.io/github/euskadi31/go-eventemitter?branch=master) |\n\ngo-eventemitter is the little and lightweight event emitter library for Go.\n\nExample\n-------\n\n```go\npackage main\n\nimport \"github.com/euskadi31/go-eventemitter\"\n\nfunc main() {\n    emitter := eventemitter.New()\n\n    emitter.Subscribe(\"test\", func() {\n        // code\n    })\n\n    emitter.Subscribe(\"count\", func(i int) {\n        // code\n    })\n\n    emitter.Dispatch(\"test\")\n\n    emitter.Dispatch(\"count\", 42)\n\n    emitter.Wait()\n}\n```\n\nLicense\n-------\n\ngo-eventemitter is licensed under [the MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuskadi31%2Fgo-eventemitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuskadi31%2Fgo-eventemitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuskadi31%2Fgo-eventemitter/lists"}