Documentation
¶
Index ¶
- type ViperEC
- func (vec *ViperEC) Errors() map[string]error
- func (vec *ViperEC) GetBool(key string) bool
- func (vec *ViperEC) GetBoolNoError(key string) bool
- func (vec *ViperEC) GetDuration(key string) time.Duration
- func (vec *ViperEC) GetString(key string) string
- func (vec *ViperEC) GetURIPrefix(key string) string
- func (vec *ViperEC) GetURL(key string) string
- func (vec *ViperEC) HasErrors() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ViperEC ¶
ViperEC is a Viper Error Catcher. It provides casting error checks in addition to usual viper functionality.
func NewViperEC ¶
func NewViperEC() *ViperEC
func (*ViperEC) GetBoolNoError ¶
func (*ViperEC) GetURIPrefix ¶
Click to show internal directories.
Click to hide internal directories.