{"id":15046126,"url":"https://github.com/kayac/go-config","last_synced_at":"2025-10-26T02:31:20.498Z","repository":{"id":26658686,"uuid":"109648134","full_name":"kayac/go-config","owner":"kayac","description":"Configuration file loader for Go","archived":false,"fork":false,"pushed_at":"2023-06-08T20:57:22.000Z","size":96,"stargazers_count":32,"open_issues_count":3,"forks_count":6,"subscribers_count":123,"default_branch":"master","last_synced_at":"2025-01-31T13:43:38.774Z","etag":null,"topics":["configuration","go","json","toml","yaml"],"latest_commit_sha":null,"homepage":"","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/kayac.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-06T04:35:37.000Z","updated_at":"2024-10-04T13:19:53.000Z","dependencies_parsed_at":"2024-06-18T17:08:56.490Z","dependency_job_id":"bb59f59c-f000-41ba-aec6-c251adc47fbd","html_url":"https://github.com/kayac/go-config","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/kayac%2Fgo-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayac%2Fgo-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayac%2Fgo-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayac%2Fgo-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kayac","download_url":"https://codeload.github.com/kayac/go-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238247984,"owners_count":19440879,"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":["configuration","go","json","toml","yaml"],"created_at":"2024-09-24T20:52:44.560Z","updated_at":"2025-10-26T02:31:15.236Z","avatar_url":"https://github.com/kayac.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-config\n\ngo-config is a configuration loader package.\n\nSee [godoc.org/github.com/kayac/go-config](https://godoc.org/github.com/kayac/go-config).\n\n## merge-env-config\n\nmerge-env-config is the cli tool to deal with template files.\n\nfor example:\n```\n{\n    \"name\": \"some function name\",\n    \"description\": \"some description\",\n    \"environment\": {\n        \"account_id\": \"{{ must_env `SOME_MUST_ACCOUNT_ID` }}\",\n        \"secret_key\": \"{{ env `SOME_SECRET_KEY` }}\"\n    }\n}\n```\n\n```\n$ SOME_MUST_ACCOUNT_ID=must_account_id SOME_SECRET_KEY=some_secret_key merge-env-config -json function.prod.json.tmpl\n{\n    \"name\": \"some function name\",\n    \"description\": \"some description\",\n    \"environment\": {\n        \"account_id\": \"must_account_id\",\n        \"secret_key\": \"some_secret_key\"\n    }\n}\n```\n\n## Author\n\nCopyright (c) 2017 KAYAC Inc.\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayac%2Fgo-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayac%2Fgo-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayac%2Fgo-config/lists"}