Top 2.5% dependent packages on proxy.golang.org
Top 1.8% dependent repos on proxy.golang.org
proxy.golang.org : github.com/choria-io/go-confkey
Package confkey looks for tags on a structure and set values based on the tag rather than the struct item names The tags can specify some formating like comma splits and other commonly seen patterns in config files. Conversion of []string, ints, strings, time.Duration and booleans are support Validations can be done on a struct basis using the github.com/choria-io/go-validators package A sample structure might look like this, the package contains utilities to set values, apply defaults and perform validations The utilities here will let you parse any config file that might have keys like loglevel etc and map the string values read from the text file onto the structure
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/choria-io/go-confkey
License: Apache-2.0
Latest release: over 5 years ago
First release: almost 6 years ago
Namespace: github.com/choria-io
Dependent packages: 5
Dependent repositories: 9
Stars: 1 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago