{"id":24374120,"url":"https://github.com/corn-config/corn-go","last_synced_at":"2026-04-22T11:32:21.589Z","repository":{"id":239213936,"uuid":"795239263","full_name":"corn-config/corn-go","owner":"corn-config","description":"Libcorn native Go implementation","archived":false,"fork":false,"pushed_at":"2024-05-10T16:48:32.000Z","size":14,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T21:52:08.088Z","etag":null,"topics":["config","configuration-files","corn","language","parser"],"latest_commit_sha":null,"homepage":"https://cornlang.dev","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/corn-config.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":"2024-05-02T21:28:40.000Z","updated_at":"2025-07-20T05:18:38.000Z","dependencies_parsed_at":"2024-05-10T19:04:00.822Z","dependency_job_id":null,"html_url":"https://github.com/corn-config/corn-go","commit_stats":null,"previous_names":["corn-config/corn-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corn-config/corn-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corn-config","download_url":"https://codeload.github.com/corn-config/corn-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32134081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["config","configuration-files","corn","language","parser"],"created_at":"2025-01-19T05:26:25.142Z","updated_at":"2026-04-22T11:32:16.579Z","avatar_url":"https://github.com/corn-config.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Corn Go\n\nGo implementation of [libcorn](https://github.com/corn-config/corn).\n\nThis is a full-spec implementation, which passes the reference test suite, so should work as expected.\nThat said, it has not currently been road-tested, and the code is rough around the edges, so I would not regard it production-ready.\n\n## Usage\n\n\nAdd the dependency:\n\n```sh\ngo get github.com/corn-config/corn-go\n```\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n  \"github.com/corn-config/corn-go\"\n)\n\nfunc main() {\n  input := \"let { $foo = 42} in { num = $foo }\"\n  eval, err := corn.Evaluate(input)\n\n  if err != nil {\n    // handle\n  }\n\n  fmt.Println(eval.Value.Get(\"num\")) // -\u003e 42\n}\n```\n\nSupport for deserializing into structs is currently missing. \nOnly `Evaluate` method is exposed currently, which will return an unstructured map.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorn-config%2Fcorn-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorn-config%2Fcorn-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorn-config%2Fcorn-go/lists"}