{"id":13410799,"url":"https://github.com/olebedev/config","last_synced_at":"2025-04-04T13:09:27.517Z","repository":{"id":16248217,"uuid":"18996052","full_name":"olebedev/config","owner":"olebedev","description":"JSON or YAML configuration wrapper with convenient access methods.","archived":false,"fork":false,"pushed_at":"2022-08-22T22:13:14.000Z","size":48,"stargazers_count":267,"open_issues_count":4,"forks_count":43,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-28T12:05:31.924Z","etag":null,"topics":["configuration","golang","json","yaml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olebedev.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":"2014-04-21T15:09:39.000Z","updated_at":"2024-07-29T17:18:01.000Z","dependencies_parsed_at":"2022-07-26T08:02:12.430Z","dependency_job_id":null,"html_url":"https://github.com/olebedev/config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olebedev%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olebedev%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olebedev%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olebedev%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olebedev","download_url":"https://codeload.github.com/olebedev/config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182243,"owners_count":20897379,"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","golang","json","yaml"],"created_at":"2024-07-30T20:01:09.311Z","updated_at":"2025-04-04T13:09:27.501Z","avatar_url":"https://github.com/olebedev.png","language":"Go","funding_links":[],"categories":["Go","Configuration","配置","配置管理 `配置解析库`","Uncategorized","\u003cspan id=\"组态-configuration\"\u003e组态 Configuration\u003c/span\u003e","配置管理"],"sub_categories":["Advanced Console UIs","Standard CLI","标准CLI","高級控制台界面","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","标准 CLI","高级控制台界面"],"readme":"# Config [![wercker status](https://app.wercker.com/status/b4e8561d9a711afcb016bf0018e83897/s/ \"wercker status\")](https://app.wercker.com/project/bykey/b4e8561d9a711afcb016bf0018e83897) [![GoDoc](https://godoc.org/github.com/olebedev/config?status.png)](https://godoc.org/github.com/olebedev/config)\n\nPackage config provides convenient access methods to configuration\nstored as JSON or YAML.\n\nThis is a fork of the [original version](https://github.com/moraes/config).\nThis version extends the functionality of the original without losing compatibility.\nMajor features added:\n\n- [`Set(path string, value interface{}) error`](http://godoc.org/github.com/olebedev/config#Config.Set) method\n- [`Env() *config.Config`](http://godoc.org/github.com/olebedev/config#Config.Env) method, for OS environment variables parsing\n- [`Flag() *config.Config`](http://godoc.org/github.com/olebedev/config#Config.Flag) method, for command line arguments parsing usign pkg/flag singleton\n- [`Args(args ...string) *config.Config`](http://godoc.org/github.com/olebedev/config#Config.Args) method, for command line arguments parsing\n- [`U*`](https://godoc.org/github.com/olebedev/config#Config.UBool) methods\n- [`Copy(...path) (*config.config, error)`](https://godoc.org/github.com/olebedev/config#Config.Copy) method\n- [`Extend(*config.Config) (*config.Config, error)`](https://godoc.org/github.com/olebedev/config#Config.Extend) method\n- [`Error() error`](https://godoc.org/github.com/olebedev/config#Config.Error) method to show last parsing error, works only with `.Args()` method\n\nExample and more information you can find [here](http://godoc.org/github.com/olebedev/config).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folebedev%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folebedev%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folebedev%2Fconfig/lists"}