Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists checks to see if a file exist at the provided path.
func GetCurrentDirectory ¶
func GetCurrentDirectory() string
GetCurrentDirectory return current directory
func LoadWithDefault ¶ added in v1.1.0
LoadWithDefault load config from file and env, if config file not exist, use default config
Types ¶
type Option ¶ added in v1.1.0
type Option func(*option)
Option config option
func SetDefaultConfigDirs ¶
Launchd doesn't set root env variables, so there is default
func SetDefaultConfigFiles ¶
File names from which we attempt to read configuration.
Click to show internal directories.
Click to hide internal directories.