{"id":22315736,"url":"https://github.com/eduncan911/es","last_synced_at":"2025-07-29T10:33:26.622Z","repository":{"id":27417116,"uuid":"30894341","full_name":"eduncan911/es","owner":"eduncan911","description":"Event-sourcing and microservices infrastructure with specs framework for GoLang","archived":false,"fork":false,"pushed_at":"2015-05-26T23:11:14.000Z","size":148,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T11:34:25.607Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eduncan911.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-16T23:43:40.000Z","updated_at":"2022-12-22T10:10:25.000Z","dependencies_parsed_at":"2022-09-02T03:30:38.134Z","dependency_job_id":null,"html_url":"https://github.com/eduncan911/es","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eduncan911/es","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduncan911%2Fes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduncan911%2Fes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduncan911%2Fes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduncan911%2Fes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduncan911","download_url":"https://codeload.github.com/eduncan911/es/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduncan911%2Fes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267670534,"owners_count":24125162,"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-07-29T02:00:12.549Z","response_time":2574,"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":[],"created_at":"2024-12-03T22:23:22.558Z","updated_at":"2025-07-29T10:33:21.603Z","avatar_url":"https://github.com/eduncan911.png","language":"Go","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"\n# es\n    import \"github.com/eduncan911/es\"\n\nPackage es is an event-sourcing infrastructure and specs framework for GoLang originally created by Rinat Abdullin.\n\nThis folder contains the core infrastructure for prototyping event-driven back-ends. You can import it in your go and move from there.\n\nAdditional packages available are:\n\n\n\t* `root` - binary-sortable UUID and a definition of an event\n\t* `api` - logic for hosting a simple JSON API (with some helpers)\n\t* `bus` - event bus and an in-memory implementation\n\t* `log` - helpers to setup logging\n\t* `env` - environment for defining modules and specs (contracts)\n\t* `specs` - express, verify and print event-driven specifications\n\t* `hosting` - wire and run modules in a process\n\n\n\n\n\n\n\n## type Contract\n``` go\ntype Contract string\n```\nContract is the string name\n\n\n\n\n\n\n\n\n\n\n\n## type Event\n``` go\ntype Event interface {\n    Meta() *Info\n}\n```\nEvent interface defines the Meta info\n\n\n\n\n\n\n\n\n\n\n\n## type Info\n``` go\ntype Info struct {\n    Contract string\n    EventID  uuid.ID\n}\n```\nInfo represents a Contract and EventID\n\n\n\n\n\n\n\n\n\n### func NewInfo\n``` go\nfunc NewInfo(contract string, eventID uuid.ID) *Info\n```\nNewInfo instantiates a new Info\n\n\n\n\n\n\n\n\n\n\n- - -\nGenerated by [godoc2md](http://godoc.org/github.com/davecheney/godoc2md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduncan911%2Fes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feduncan911%2Fes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduncan911%2Fes/lists"}