Documentation
¶
Overview ¶
Package config provides functions which can be used to extract environment variables and parse them to the right type.
Index ¶
Constants ¶
View Source
const ( // ProdEnv can be used as value when reading out the type of environment. ProdEnv string = "production" // TestEnv can be used as value when reading out the type of environment. TestEnv string = "test" // DevEnv can be used as value when reading out the type of environment. DevEnv string = "development" )
Variables ¶
This section is empty.
Functions ¶
func EnvStrArray ¶ added in v0.1.1
EnvStrArray extracts a string array environment variable. The values should be seperated by ','.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.