{"id":13531160,"url":"https://github.com/philandstuff/dhall-golang","last_synced_at":"2025-08-21T06:30:39.241Z","repository":{"id":36308955,"uuid":"169641431","full_name":"philandstuff/dhall-golang","owner":"philandstuff","description":"Dhall bindings for go","archived":false,"fork":false,"pushed_at":"2023-02-25T02:40:30.000Z","size":1815,"stargazers_count":119,"open_issues_count":12,"forks_count":10,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-12-10T03:40:39.065Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philandstuff.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-02-07T20:57:30.000Z","updated_at":"2024-12-07T11:09:29.000Z","dependencies_parsed_at":"2024-04-17T11:35:13.193Z","dependency_job_id":"9f6978d5-ff59-407c-918e-f3d3893c726f","html_url":"https://github.com/philandstuff/dhall-golang","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philandstuff%2Fdhall-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philandstuff%2Fdhall-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philandstuff%2Fdhall-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philandstuff%2Fdhall-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philandstuff","download_url":"https://codeload.github.com/philandstuff/dhall-golang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230494921,"owners_count":18235046,"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-08-01T07:01:00.565Z","updated_at":"2024-12-19T20:08:02.330Z","avatar_url":"https://github.com/philandstuff.png","language":"Go","funding_links":[],"categories":["Binding","Go"],"sub_categories":[],"readme":"# dhall-golang\n\n[![GoDoc](https://godoc.org/github.com/philandstuff/dhall-golang?status.svg)][dhall-golang godoc]\n\nGo bindings for the [dhall configuration language][dhall].\n\n[dhall]: https://dhall-lang.org/\n\n## Quick start\n\nHere's a minimal example of how you might use dhall-golang to load a\nDhall file into your own struct:\n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/philandstuff/dhall-golang/v6\"\n)\n\n// Config can be a fairly arbitrary Go datatype.  You would put your\n// application configuration in this struct.\ntype Config struct {\n\tPort int\n\tName string\n}\n\nfunc main() {\n\tvar config Config\n\terr = dhall.UnmarshalFile(\"/path/to/config.dhall\", \u0026config)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"Loaded config: %#v\\n\", config)\n}\n```\n\n## Documentation\n\nYou can find more documentation in the [dhall-golang godoc][].\n\n[dhall-golang godoc]: https://godoc.org/github.com/philandstuff/dhall-golang/v6\n\n## Development\n\nThis is a fairly standard Go project.  It uses go modules, so no\nvendoring of dependencies is required.\n\n### Running the tests\n\n    git submodule update --init --recursive\n\n    go test ./...\n\n    go test -short ./... # skips long-running tests\n\n### Making changes to the PEG grammar\n\nDhall-golang uses [pigeon][] to generate the parser source file\n`parser/internal/dhall.go` from the PEG grammar at\n`parser/internal/dhall.peg`.  If you change the PEG grammar, you need\nto first install the pigeon binary if you don't already have it:\n\n    # either outside a module directory, or with GO111MODULE=off\n    go get github.com/mna/pigeon\n\nThen, to regenerate the parser:\n\n    go generate ./parser\n\n[pigeon]: https://godoc.org/github.com/mna/pigeon\n\n## Support\n\nIssues and pull requests are welcome on this repository.  If you have\na question, you can ask it on the [Dhall discourse][].\n\n[Dhall discourse]: https://discourse.dhall-lang.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilandstuff%2Fdhall-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilandstuff%2Fdhall-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilandstuff%2Fdhall-golang/lists"}