Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.3% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org
Top 7.7% forks on proxy.golang.org

proxy.golang.org : github.com/distributedio/configo

Package configo is designed to handle configuration more easier. Writing and parsing configuration is very easy with configo, there is not any pain to add more keys in conf because configo can generate the configuration file based on your struct definition. Define struct with tags `cfg` Marshal to configuration Unmarshal from file Dump to file The dumpped content is configuration friendly like this Load from file Update an exist file This is really useful when you add new member of struct and want to preserve the content of your configuration file. Configo comes along with a command tool to help to generate and update configuration file for you. Build a generator with configo-build or use relative package path if you are under configo directory Run the built program(name with format "<package>.<struct>.cfg") Update example.toml when you have updated struct conf.Configo

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/distributedio/configo
Keywords: configo, toml
License: MIT
Latest release: over 4 years ago
First release: over 4 years ago
Namespace: github.com/distributedio
Dependent packages: 3
Dependent repositories: 2
Stars: 32 on GitHub
Forks: 6 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

    Loading...
    Readme
    Loading...