Ecosyste.ms: Packages

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/Benzinga/flagstruct

Package flagstruct is a simple package that allows you to express flag and environment variable based configuration using structs and struct tagging. flagstruct works on arbitrary structures with struct tagging. The following struct tags are supported: Default values are derived from the value of the member in the struct. To see exactly how this works, check out the package example. This snippet shows how to use flag and environment parsing without using the Configure helper that couples configuration with parsing. This snippet shows how to use flag and environment variable parsing with flagstruct.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21benzinga/flagstruct
Keywords: command-line, flags, golang, travis-ci
License: ISC
Latest release: about 6 years ago
First release: about 6 years ago
Namespace: github.com/Benzinga
Stars: 3 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 17 days ago

    Loading...
    Readme
    Loading...