{"id":15687983,"url":"https://github.com/ultirequiem/configo","last_synced_at":"2025-05-07T20:08:49.172Z","repository":{"id":104821937,"uuid":"421079690","full_name":"UltiRequiem/configo","owner":"UltiRequiem","description":"⚙️ Dead Simple Config Management, load and persist config without having to think about where and how.","archived":false,"fork":false,"pushed_at":"2022-04-07T02:43:22.000Z","size":13,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T20:08:23.301Z","etag":null,"topics":["configuration","go","golang","persistent-storage"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/UltiRequiem/configo","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/UltiRequiem.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":"2021-10-25T15:26:51.000Z","updated_at":"2022-04-06T18:01:27.000Z","dependencies_parsed_at":"2023-05-30T07:30:49.695Z","dependency_job_id":null,"html_url":"https://github.com/UltiRequiem/configo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fconfigo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fconfigo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fconfigo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fconfigo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UltiRequiem","download_url":"https://codeload.github.com/UltiRequiem/configo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252949270,"owners_count":21830151,"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","persistent-storage"],"created_at":"2024-10-03T17:52:50.537Z","updated_at":"2025-05-07T20:08:49.149Z","avatar_url":"https://github.com/UltiRequiem.png","language":"Go","funding_links":["https://patreon.com/UltiRequiem"],"categories":[],"sub_categories":[],"readme":"# Configo\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/UltiRequiem/configo.svg)](https://pkg.go.dev/github.com/UltiRequiem/configo)\n\nDead Simple Config Management, load and persist config without having to think\nabout where and how.\n\n## Install\n\n```sh\ngo get github.com/UltiRequiem/configo\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/UltiRequiem/configo\"\n)\n\nfunc main() {\n\tconfig, err := configo.NewConfig(\"example\")\n\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Only if you want to persist values\n\tdefer config.Save()\n\n\tconfig.Set(\"awesome\", 777)\n\n\tfmt.Println(config.Get(\"awesome\")) //=\u003e 777\n\n\tfmt.Println(config.Has(\"awesome\")) //=\u003e true\n\n\tconfig.Delete(\"awesome\")\n\n\tfmt.Println(config.Get(\"awesome\")) //=\u003e nil\n\n\tfmt.Println(config.Size()) //=\u003e 0\n\n\tconfig.Set(\"foo\", \"bar\")\n\n\tfmt.Println(config.Size()) //=\u003e 1\n}\n```\n\nIf you already ran the code snippet from before, then this will work 👇\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/UltiRequiem/configo\"\n)\n\nfunc main() {\n\tconfig, err := configo.NewConfig(\"example\")\n\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfmt.Println(config.Get(\"foo\")) // \"bar\"\n}\n```\n\n## Documentation\n\nIs hosted on [pkg.go.dev](https://pkg.go.dev/github.com/UltiRequiem/configo).\n\n## Support\n\nOpen an Issue, I will check it a soon as possible 👀\n\nIf you want to hurry me up a bit\n[send me a tweet](https://twitter.com/UltiRequiem) 😆\n\nConsider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like\nmy work 🙏\n\nDon't forget to start the repo ⭐\n\n## Licence\n\nLicensed under the MIT License 📄\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fconfigo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultirequiem%2Fconfigo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fconfigo/lists"}