config

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustEnvCodeOverrideStruct

func MustEnvCodeOverrideStruct(envPrefix string, targetVars interface{}, codeVars interface{})

MustEnvCodeOverrideStruct used when you need to override in order ENV_VARS -> Code defined struct fields -> Sane defaults if struct is nil

func MustEnvOverrideStruct

func MustEnvOverrideStruct(envPrefix string, s interface{})

MustEnvOverrideStruct used when you need to override a struct with `envconfig` fields from environment variables

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL