{"id":21502390,"url":"https://github.com/night-codes/go-events","last_synced_at":"2025-03-17T13:40:54.917Z","repository":{"id":83544875,"uuid":"76482848","full_name":"night-codes/go-events","owner":"night-codes","description":"Golang events emmiter","archived":false,"fork":false,"pushed_at":"2020-06-26T12:51:18.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T23:32:54.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/night-codes.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}},"created_at":"2016-12-14T17:44:23.000Z","updated_at":"2022-08-01T09:05:25.000Z","dependencies_parsed_at":"2023-07-07T17:45:24.351Z","dependency_job_id":null,"html_url":"https://github.com/night-codes/go-events","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/night-codes%2Fgo-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-codes%2Fgo-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-codes%2Fgo-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-codes%2Fgo-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/night-codes","download_url":"https://codeload.github.com/night-codes/go-events/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244043497,"owners_count":20388591,"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":[],"created_at":"2024-11-23T18:14:44.481Z","updated_at":"2025-03-17T13:40:54.910Z","avatar_url":"https://github.com/night-codes.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-events\nGolang event emmiter library \n\n## Example\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/night-codes/go-events\"\n    \"strconv\"\n)\n\nvar (\n    myEvent = events.New()\n)\n\nfunc main() {\n    for i := 0; i \u003c 10; i++ {\n        l := i\n        myEvent.On(func(data ...interface{}) {\n            fmt.Println(\"Listener\"+strconv.Itoa(l), data[0])\n        })\n    }\n    for j := 0; j \u003c 10; j++ {\n        fmt.Println(\"\")\n        myEvent.Emit(\"Event\" + strconv.Itoa(j))\n    }\n}\n```\n\n## License\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nVersion 2, December 2004\n\nCopyright (C) 2016 Oleksiy Chechel \u003calex.mirrr@gmail.com\u003e\n\nEveryone is permitted to copy and distribute verbatim or modified\ncopies of this license document, and changing it is allowed as long\nas the name is changed.\n\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. You just DO WHAT THE FUCK YOU WANT TO.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnight-codes%2Fgo-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnight-codes%2Fgo-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnight-codes%2Fgo-events/lists"}