Documentation ¶
Index ¶
- Variables
- func FileExists(name string) bool
- func Get(key string, fallback ...string) string
- func GetBool(key string, fallback ...bool) (bool, error)
- func GetBoolMust(key string, fallback bool) bool
- func GetFloat(key string, fallback ...float64) (float64, error)
- func GetFloatMust(key string, fallback ...float64) float64
- func GetInt(key string, fallback ...int) (int, error)
- func GetIntMust(key string, fallback ...int) int
- func GetMust(key string) string
- func GetPath(p string) string
- func Getwd() string
- func Setenv(key, value string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDotEnvFile = os.Getenv("DOTENV_DEFAULT")
View Source
var DotEnvFile = os.Getenv("DOTENV")
Functions ¶
func FileExists ¶
func GetBoolMust ¶
func GetFloatMust ¶
func GetIntMust ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.