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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/loderunner/popt

Package popt defines a series of helpers to define options for pflag and viper in one place. Use Option to define configuration options for your program. This allows quick and consistent bindings for configuration file options, flags and environment variables. Start by configuring an option for your program. At init time, add the option to your program. When running your executable, bind your option and parse the flags. Example usage: You can also define your configuration options in a JSON file, to be loaded at runtime. options.json Main Usage CAVEAT: Beware that your options defined in JSON will follow JSON typing; in particular, all your numbers will be float64s.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/loderunner/popt
License: Apache-2.0
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/loderunner
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago

    Loading...
    Readme
    Loading...