{"id":13526404,"url":"https://github.com/uber-go/config","last_synced_at":"2025-04-12T00:56:05.345Z","repository":{"id":21306604,"uuid":"92202364","full_name":"uber-go/config","owner":"uber-go","description":"Configuration for Go applications","archived":false,"fork":false,"pushed_at":"2024-02-05T19:13:39.000Z","size":353,"stargazers_count":462,"open_issues_count":10,"forks_count":42,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-12T00:55:56.849Z","etag":null,"topics":["configuration","go","golang","yaml"],"latest_commit_sha":null,"homepage":"https://godoc.org/go.uber.org/config","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/uber-go.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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-05-23T17:45:52.000Z","updated_at":"2025-03-28T23:47:06.000Z","dependencies_parsed_at":"2022-08-05T07:30:15.187Z","dependency_job_id":"ac593c41-3679-458b-9643-0eebf0a899e0","html_url":"https://github.com/uber-go/config","commit_stats":{"total_commits":157,"total_committers":23,"mean_commits":6.826086956521739,"dds":0.5605095541401274,"last_synced_commit":"4a896bb4754bf2374c1fc9e243702070f08973b4"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber-go","download_url":"https://codeload.github.com/uber-go/config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501878,"owners_count":21114683,"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","golang","yaml"],"created_at":"2024-08-01T06:01:29.197Z","updated_at":"2025-04-12T00:56:05.326Z","avatar_url":"https://github.com/uber-go.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# :fishing_pole_and_fish: config [![GoDoc][doc-img]][doc] [![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov]\n\nConvenient, injection-friendly YAML configuration.\n\n## Installation\n\n```\ngo get -u go.uber.org/config\n```\n\nNote that config only supports the two most recent minor versions of Go.\n\n## Quick Start\n\n```golang\n// Model your application's configuration using a Go struct.\ntype cfg struct {\n    Parameter string\n}\n\n// Two sources of configuration to merge.\nbase := strings.NewReader(\"module: {parameter: foo}\")\noverride := strings.NewReader(\"module: {parameter: bar}\")\n\n// Merge the two sources into a Provider. Later sources are higher-priority.\n// See the top-level package documentation for details on the merging logic.\nprovider, err := config.NewYAML(config.Source(base), config.Source(override))\nif err != nil {\n    panic(err) // handle error\n}\n\nvar c cfg\nif err := provider.Get(\"module\").Populate(\u0026c); err != nil {\n  panic(err) // handle error\n}\n\nfmt.Printf(\"%+v\\n\", c)\n// Output:\n// {Parameter:bar}\n```\n\n## Development Status: Stable\n\nAll APIs are finalized, and no breaking changes will be made in the 1.x series\nof releases. Users of semver-aware dependency management systems should pin\nconfig to `^1`.\n\n---\n\nReleased under the [MIT License](LICENSE.txt).\n\n[doc-img]: http://img.shields.io/badge/GoDoc-Reference-blue.svg\n[doc]: https://godoc.org/go.uber.org/config\n\n[ci-img]: https://github.com/uber-go/config/actions/workflows/go.yml/badge.svg\n[ci]: https://github.com/uber-go/config/actions/workflows/go.yml\n\n[cov-img]: https://codecov.io/gh/uber-go/config/branch/master/graph/badge.svg\n[cov]: https://codecov.io/gh/uber-go/config/branch/master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-go%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber-go%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-go%2Fconfig/lists"}