Categorygithub.com/goph/nest
modulepackage
0.5.3
Repository: https://github.com/goph/nest.git
Documentation: pkg.go.dev

# README

Nest

Build Status Go Report Card GoDoc

Nest is a convenience wrapper around Viper providing a way to map configuration values to a struct and it's fields by using annotations.

License

The MIT License (MIT). Please see License File for more information.

# Functions

Load calls the function with the same name on the global configurator instance.
No description provided by the author
SetArgs calls the function with the same name on the global configurator instance.
SetEnvPrefix calls the function with the same name on the global configurator instance.
SetName calls the function with the same name on the global configurator instance.

# Constants

Tag constants.
Tag constants.
Tag constants.
Tag constants.
Tag constants.
Tag constants.
Tag constants.
Tag constants.

# Variables

ErrFlagHelp is returned when the commandline arguments include -h or --help.
ErrNotStruct is returned when value passed to config.Load() is not a struct.
ErrNotStructPointer is returned when value passed to config.Load() is not a pointer to a struct.

# Structs

No description provided by the author

# Interfaces

Decoder is implemented by types that can deserialize themselves.