Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
Map is a map of environment variables. We use a *Var as map values are not addressable, i.e. cannot be modified directly.
type Var ¶
type Var struct {
Value string
DefaultValue string
IsInteger bool
IntValue int
IsBoolean bool
BooleanValue bool
OneOf []string
Optional bool // controls whether an env variable can be missing from the .env file but still declared
}
Var describes an environment variable and its configuration.
Click to show internal directories.
Click to hide internal directories.