Top 4.6% dependent packages on proxy.golang.org
proxy.golang.org : github.com/milobella/enviper
Package enviper is a helper/wrapper for http://github.com/spf13/viper with the same API. It makes it possible to unmarshal config to struct considering environment variables. Viper package (https://github.com/spf13/viper) doesn't consider environment variables while unmarshaling. Please, see: https://github.com/spf13/viper/issues/188 and https://github.com/spf13/viper/issues/761 Just wrap viper instance and use the same `Unmarshal` method as you did before: Thanks to https://github.com/krak3n (https://github.com/spf13/viper/issues/188#issuecomment-399884438) and https://github.com/celian-garcia (https://github.com/spf13/viper/issues/761#issuecomment-626122696) for inspiring.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/milobella/enviper
License: MIT
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/milobella
Dependent packages: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 30 days ago