{"id":22306017,"url":"https://github.com/idevelopthings/go-type-schema-parser","last_synced_at":"2025-03-26T00:47:20.235Z","repository":{"id":264510450,"uuid":"630280639","full_name":"iDevelopThings/go-type-schema-parser","owner":"iDevelopThings","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-20T03:40:12.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T21:35:47.623Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iDevelopThings.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-20T03:39:59.000Z","updated_at":"2023-04-20T03:40:15.000Z","dependencies_parsed_at":"2024-11-24T19:59:34.924Z","dependency_job_id":"6cfd1a78-6dbd-433f-9fd0-987642fc44a5","html_url":"https://github.com/iDevelopThings/go-type-schema-parser","commit_stats":null,"previous_names":["idevelopthings/go-type-schema-parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iDevelopThings%2Fgo-type-schema-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iDevelopThings%2Fgo-type-schema-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iDevelopThings%2Fgo-type-schema-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iDevelopThings%2Fgo-type-schema-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iDevelopThings","download_url":"https://codeload.github.com/iDevelopThings/go-type-schema-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245568586,"owners_count":20636803,"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-12-03T19:13:53.974Z","updated_at":"2025-03-26T00:47:20.213Z","avatar_url":"https://github.com/iDevelopThings.png","language":"Go","readme":"# Custom Schema Parser\n\nA simple parser for a custom schema language, written in Go. This project is inspired by a request from a user, and the code has been generated by the OpenAI's ChatGPT language model.\n\nThe legend wrote the code which was almost 90% working, and wrote this readme. 👏\n\n## Overview\n\nThe custom schema parser can parse schema definitions in the following format:\n\n```\ntype User('users') {\n    id: ID!\n    name: string\n    username: string\n    someInt: int\n    someFloat: float\n    someBool: bool\n    someDate: date\n    someDateTime: datetime\n    ids: array\u003cint\u003e\n}\n```\n\n\nThe parser is divided into three main components:\n\n1. `main.go`: Contains the `main()` function and data structures to represent the schema.\n2. `lexer.go`: Tokenizes the input string into a series of tokens.\n3. `parser.go`: Parses the tokenized input into schema structures.\n\n## Usage\n\n1. Build the parser:\n\n```bash\n$ go build -o parser\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidevelopthings%2Fgo-type-schema-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidevelopthings%2Fgo-type-schema-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidevelopthings%2Fgo-type-schema-parser/lists"}