Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MyInt int `json:"myInt" envvar:"MY_INT"` MyFloat float32 `json:"myFloat" envvar:"MY_FLOAT"` MyString string `json:"myString" envvar:"MY_STRING"` MyBool bool `json:"myBool" envvar:"MY_BOOL"` // contains filtered or unexported fields }
Config is an example struct usable by the cfgbuild package.
Click to show internal directories.
Click to hide internal directories.