Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKlothoConfigPath ¶
func CreateKlothoConfigPath() error
func KlothoConfigPath ¶
KlothoConfigPath returns a path to a file in ~/.klotho/<filename>
Types ¶
type EnvVar ¶ added in v0.6.3
type EnvVar string
EnvVar represents an environment variable, specified by its key name. wrapper around os.Getenv. This string's value is the env var key. Use GetOr to get its value, or a default if the value isn't set.
func (EnvVar) GetBool ¶ added in v0.7.0
GetBool returns the env var as a boolean.
The value is false if the env var is:
- unset
- the empty string ("")
- "0" or "false" (case-insensitive)
The value is true for all other values, including other false-looking strings like "no".
Click to show internal directories.
Click to hide internal directories.