Documentation
¶
Index ¶
- func EnrichStr(value string) string
- func ReadJson(path string) map[string]interface{}
- type Enverant
- func (e *Enverant) GetBool(key string) bool
- func (e *Enverant) GetBoolOr(key string, default_ bool) bool
- func (e *Enverant) GetInt(key string) int
- func (e *Enverant) GetIntOr(key string, default_ int) int
- func (e *Enverant) GetStr(key string) string
- func (e *Enverant) GetStrOr(key string, default_ string) string
- type EnverantOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Enverant ¶
type Enverant struct {
// contains filtered or unexported fields
}
func NewEnverant ¶
func NewEnverant(opts ...EnverantOption) *Enverant
type EnverantOption ¶
type EnverantOption func(m *Enverant)
func WithEnvFile ¶
func WithEnvFile(path string) EnverantOption
Click to show internal directories.
Click to hide internal directories.