Versions in this module Expand all Collapse all v0 v0.1.1 Nov 22, 2021 v0.1.0 Nov 21, 2021 Changes in this version + func Get(key string) interface + func GetBool(key string) bool + func GetDuration(key string) time.Duration + func GetFloat64(key string) float64 + func GetInt(key string) int + func GetInt32(key string) int32 + func GetInt64(key string) int64 + func GetIntSlice(key string) []int + func GetString(key string) string + func GetStringMap(key string) map[string]interface + func GetStringMapString(key string) map[string]string + func GetStringMapStringSlice(key string) map[string][]string + func GetStringSlice(key string) []string + func GetUint(key string) uint + func GetUint32(key string) uint32 + func GetUint64(key string) uint64 + func IGet(key string) interface + func IGetBool(key string) bool + func IGetDuration(key string) time.Duration + func IGetFloat64(key string) float64 + func IGetInt(key string) int + func IGetInt32(key string) int32 + func IGetInt64(key string) int64 + func IGetIntSlice(key string) []int + func IGetString(key string) string + func IGetStringMap(key string) map[string]interface + func IGetStringMapString(key string) map[string]string + func IGetStringMapStringSlice(key string) map[string][]string + func IGetStringSlice(key string) []string + func IGetUint(key string) uint + func IGetUint32(key string) uint32 + func IGetUint64(key string) uint64 + func Load(name string) error + func ReadInConfig() error + func Reset() + func SetFS(fs embed.FS) + func V() *viper.Viper + type Piper struct + V *viper.Viper + func New() *Piper + func (p *Piper) Get(key string) interface{} + func (p *Piper) GetBool(key string) bool + func (p *Piper) GetDuration(key string) time.Duration + func (p *Piper) GetFloat64(key string) float64 + func (p *Piper) GetInt(key string) int + func (p *Piper) GetInt32(key string) int32 + func (p *Piper) GetInt64(key string) int64 + func (p *Piper) GetIntSlice(key string) []int + func (p *Piper) GetString(key string) string + func (p *Piper) GetStringMap(key string) map[string]interface{} + func (p *Piper) GetStringMapString(key string) map[string]string + func (p *Piper) GetStringMapStringSlice(key string) map[string][]string + func (p *Piper) GetStringSlice(key string) []string + func (p *Piper) GetUint(key string) uint + func (p *Piper) GetUint32(key string) uint32 + func (p *Piper) GetUint64(key string) uint64 + func (p *Piper) IGet(key string) interface{} + func (p *Piper) IGetBool(key string) bool + func (p *Piper) IGetDuration(key string) time.Duration + func (p *Piper) IGetFloat64(key string) float64 + func (p *Piper) IGetInt(key string) int + func (p *Piper) IGetInt32(key string) int32 + func (p *Piper) IGetInt64(key string) int64 + func (p *Piper) IGetIntSlice(key string) []int + func (p *Piper) IGetString(key string) string + func (p *Piper) IGetStringMap(key string) map[string]interface{} + func (p *Piper) IGetStringMapString(key string) map[string]string + func (p *Piper) IGetStringMapStringSlice(key string) map[string][]string + func (p *Piper) IGetStringSlice(key string) []string + func (p *Piper) IGetUint(key string) uint + func (p *Piper) IGetUint32(key string) uint32 + func (p *Piper) IGetUint64(key string) uint64 + func (p *Piper) Load(name string) error + func (p *Piper) MergeInConfig() error + func (p *Piper) ReadInConfig() error + func (p *Piper) SetFS(fs embed.FS)