{"id":26709460,"url":"https://github.com/pablotrianda/config","last_synced_at":"2026-05-05T05:39:32.673Z","repository":{"id":54750376,"uuid":"521805082","full_name":"pablotrianda/config","owner":"pablotrianda","description":"🪚 Mini tool to handle configurations saved on a yaml file an a easy way","archived":false,"fork":false,"pushed_at":"2024-04-11T14:00:46.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-16T14:36:07.066Z","etag":null,"topics":["golang","package","yaml"],"latest_commit_sha":null,"homepage":"","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/pablotrianda.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":"2022-08-06T00:04:12.000Z","updated_at":"2023-01-25T20:38:12.000Z","dependencies_parsed_at":"2024-06-20T17:19:00.363Z","dependency_job_id":"9f62a0f3-1946-4e29-b700-1a24595e29bc","html_url":"https://github.com/pablotrianda/config","commit_stats":null,"previous_names":["pablotrianda/yml-parser-config"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablotrianda%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablotrianda%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablotrianda%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablotrianda%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablotrianda","download_url":"https://codeload.github.com/pablotrianda/config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245806445,"owners_count":20675298,"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":["golang","package","yaml"],"created_at":"2025-03-27T08:17:08.581Z","updated_at":"2026-05-05T05:39:32.631Z","avatar_url":"https://github.com/pablotrianda.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Config 🪚\n[![made-with-Go](https://img.shields.io/badge/Made%20with-Go-1f425f.svg)](https://go.dev/)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n[![Open Source Love png1](https://badges.frapsoft.com/os/v1/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/)\n\nThis package allow to read configurations an a easy and fast way from a `yaml` file\n\nThis mini tool have the follow actions:\n* [x] Read a config file\n\n## Installation\nTo install config package, you need to install Go and set your Go workspace first.\n\n1.The first need Go installed(version 1.14+ is required), then you can use the below Go command to install config.\n\n```\ngo get -u github.com/pablotrianda/config\n```\n\n2.Import it in your code:\n```golang\nimport \"github.com/pablotrianda/config\"\n```\n## Usage example\nHaving a `yaml` file with this data:\n```yaml\nsome: thing\nhere: goes\n```\n```golang\nimport \"github.com/pablotrianda/config\"\n\nfunc main(){\n  // Load the configuration file\n  cfg := config.Load(\"to/yaml/file/conf.yaml\")\n  // Get values\n  cfg.Get(\"some\")\n}\n```\n## Contact\nYou can reach me on [Twitter @pablotrianda](https://www.twitter.com/pablotrianda)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablotrianda%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablotrianda%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablotrianda%2Fconfig/lists"}