Ecosyste.ms: Packages

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

Top 5.5% on proxy.golang.org
Top 1.3% dependent packages on proxy.golang.org
Top 1.5% dependent repos on proxy.golang.org
Top 8.8% forks on proxy.golang.org

proxy.golang.org : github.com/henrylee2cn/cfgo

Cfgo from the YAML document, bi-directional synchronous multi-module configuration. The structure of the generated document will reflect the structure of the value itself. Maps and pointers (to struct, string, int, etc) are accepted as the in value. Struct fields are only unmarshalled if they are exported (have an upper case first letter), and are unmarshalled using the field name lowercased as the default key. Custom keys may be defined via the "yaml" name in the field tag: the content preceding the first comma is used as the key, and the following comma-separated options are used to tweak the marshalling process. Conflicting names result in a runtime error. The field tag format accepted is: The following flags are currently supported: In addition, if the key is `-`, the field is ignored.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/henrylee2cn/cfgo
Keywords: auto-sync-config, configuration, multi-config, multi-module-config, reload-config, yaml
License: MIT
Latest release: almost 2 years ago
First release: almost 2 years ago
Namespace: github.com/henrylee2cn
Dependent packages: 15
Dependent repositories: 12
Stars: 9 on GitHub
Forks: 4 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago

    Loading...
    Readme
    Loading...