Documentation ¶
Overview ¶
Package settings allows to load application setting from environment variables with validation. Full description is in the README.md
Index ¶
Constants ¶
View Source
const ( ErrUnsupportedField cer.Error = "unsupported field type" ErrTheModelHasEmptyStruct cer.Error = "an input struct has no fields" ErrNotAStruct cer.Error = "the configuration must be a struct" ErrNotAddressable cer.Error = "the main struct must be pointed out via pointer" ErrNotAddressableField cer.Error = "the value is not addressable or main struct is not indicated via pointer" ErrInternalFailure cer.Error = "an internal package error" ErrIncorrectFieldValue cer.Error = "variable has been found but has incorrect value" ErrValidationFailed cer.Error = "field validation failed" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.