Viper
Read settings from configuration files and runtime options.
spf13 · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/spf13/viper at v1.21.0. Load a sample YAML stock record and read its typed fields.
What we tested
v1.21.0. Load a sample YAML stock record and read its typed fields. Loaded the synthetic YAML and found the count seven.