{"id":16939334,"url":"https://github.com/a8m/entspatial","last_synced_at":"2025-04-11T19:20:45.458Z","repository":{"id":57658643,"uuid":"342580171","full_name":"a8m/entspatial","owner":"a8m","description":"An example repository for working with MySQL spatial data types in ent","archived":false,"fork":false,"pushed_at":"2021-04-07T07:01:33.000Z","size":53,"stargazers_count":7,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T15:13:01.436Z","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/a8m.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":"2021-02-26T13:13:32.000Z","updated_at":"2023-01-26T07:20:45.000Z","dependencies_parsed_at":"2022-09-16T04:41:45.128Z","dependency_job_id":null,"html_url":"https://github.com/a8m/entspatial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a8m%2Fentspatial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a8m%2Fentspatial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a8m%2Fentspatial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a8m%2Fentspatial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a8m","download_url":"https://codeload.github.com/a8m/entspatial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465348,"owners_count":21108244,"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-10-13T21:04:24.135Z","updated_at":"2025-04-11T19:20:45.431Z","avatar_url":"https://github.com/a8m.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## entspatial\n\nAn example repository for working with [MySQL spatial data types](https://dev.mysql.com/doc/refman/8.0/en/spatial-type-overview.html) in [ent](https://entgo.io).\n\n\n```go\n// Location holds the schema definition for the Location entity.\ntype Location struct {\n\tent.Schema\n}\n\n// Fields of the Location.\nfunc (Location) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"name\"),\n\t\tfield.Other(\"coords\", \u0026Point{}).\n\t\t\tSchemaType(Point{}.SchemaType()),\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa8m%2Fentspatial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa8m%2Fentspatial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa8m%2Fentspatial/lists"}