{"id":31120941,"url":"https://github.com/terrextech/go-common-models","last_synced_at":"2025-09-17T15:10:41.739Z","repository":{"id":64297200,"uuid":"158143042","full_name":"TerrexTech/go-common-models","owner":"TerrexTech","description":"Data models for TerrexTech code.","archived":false,"fork":false,"pushed_at":"2018-11-26T07:50:31.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T05:05:28.687Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TerrexTech.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":"2018-11-19T01:02:08.000Z","updated_at":"2024-06-20T05:05:28.688Z","dependencies_parsed_at":"2023-01-15T08:45:19.230Z","dependency_job_id":null,"html_url":"https://github.com/TerrexTech/go-common-models","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/TerrexTech/go-common-models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-common-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-common-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-common-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-common-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TerrexTech","download_url":"https://codeload.github.com/TerrexTech/go-common-models/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-common-models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275615301,"owners_count":25496811,"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-09-17T02:00:09.119Z","response_time":84,"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":"2025-09-17T15:10:38.369Z","updated_at":"2025-09-17T15:10:41.734Z","avatar_url":"https://github.com/TerrexTech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository provides the models commonly used across TerrexTech projects.  \nIt also includes [`bootstrap`][0] package for conveniently creating `Event` and `EventMeta` tables and associated Keyspace in Cassandra.\n\n#### Included models:\n\n* **Command**\n* **Document**\n* **Error**\n* **Event**\n* **EventMeta**\n* **EventStoreQuery**\n* **LogEntry**\n\nThe models provided are intended to be imported by any libraries dealing with the respective models, to ensure consistency across structures/schema.\n\n**Go Docs:**\n * **[bootstrap][0]**\n * **[definition][1]**\n * **[model][2]**\n\n### Usage:\n\nAs mentioned above, this library can be used to directly create the tables `events`, `events_meta`, and the associated keyspace.\n\nTo create the tables, simply call the [`bootstrap#Event`][3] and the [`bootstrap#EventMeta`][4] methods.\n\nThe required information (such as Cassandra Hosts, Keyspace/Table names, etc.) is read from the Environemnt.\n\nThe default configuration can be found in the `.env` file at the root.\n\n  [0]: https://godoc.org/github.com/TerrexTech/go-common-models/bootstrap\n  [1]: https://godoc.org/github.com/TerrexTech/go-common-models/definition\n  [2]: https://godoc.org/github.com/TerrexTech/go-common-models/model\n  [3]: https://godoc.org/github.com/TerrexTech/go-common-models/bootstrap#Event\n  [4]: https://godoc.org/github.com/TerrexTech/go-common-models/bootstrap#EventMeta\n\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrextech%2Fgo-common-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrextech%2Fgo-common-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrextech%2Fgo-common-models/lists"}