{"id":15794057,"url":"https://github.com/emicklei/dgraph-parser","last_synced_at":"2025-03-31T19:25:56.089Z","repository":{"id":57516424,"uuid":"245464231","full_name":"emicklei/dgraph-parser","owner":"emicklei","description":"DGraph schema parser ","archived":false,"fork":false,"pushed_at":"2020-03-09T10:02:15.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-05T23:22:04.875Z","etag":null,"topics":["code-generation","dgraph","golang-package","parser","schema"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emicklei.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":"2020-03-06T16:12:16.000Z","updated_at":"2020-06-17T05:18:07.000Z","dependencies_parsed_at":"2022-08-30T01:41:45.960Z","dependency_job_id":null,"html_url":"https://github.com/emicklei/dgraph-parser","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emicklei%2Fdgraph-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emicklei%2Fdgraph-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emicklei%2Fdgraph-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emicklei%2Fdgraph-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emicklei","download_url":"https://codeload.github.com/emicklei/dgraph-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246525247,"owners_count":20791700,"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":["code-generation","dgraph","golang-package","parser","schema"],"created_at":"2024-10-04T23:22:09.315Z","updated_at":"2025-03-31T19:25:56.052Z","avatar_url":"https://github.com/emicklei.png","language":"Go","readme":"# dgraph-parser\n\n[![Build Status](https://travis-ci.org/emicklei/dgraph-parser.png)](https://travis-ci.org/emicklei/dgraph-parser)\n[![Go Report Card](https://goreportcard.com/badge/github.com/emicklei/dgraph-parser)](https://goreportcard.com/report/github.com/emicklei/dgraph-parser)\n[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/emicklei/dgraph-parser?tab=doc)\n\nPackage in Go for parsing native DGraph schema definitions (so not GraphQL).\n\n## usage\n\n    import (\n        dsp \"github.com/emicklei/dgraph-parser\"\n    )\n\n## example\n\n\tdata, err := ioutil.ReadFile(\"dgraph.schema\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tparser := dsp.NewParser(bytes.NewReader(data))\n\tschema, err := parser.Parse()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n© 2020, [ernestmicklei.com](http://ernestmicklei.com).  MIT License. Contributions welcome.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femicklei%2Fdgraph-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femicklei%2Fdgraph-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femicklei%2Fdgraph-parser/lists"}