Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //Settings keeps db settings for current environment Settings settingYaml //SettingsAll keeps db settings for all environments SettingsAll settingsYaml //AppDir is the full path to application dir AppDir string //AssetsDir is the full path to assets folder AssetsDir string //UploadPath is the full path to uploads dir UploadPath string //UploadPathURL is the uploads dir url (/public/uploads) UploadPathURL string //LogFile is log file reference, opened by config.Initialize, closed by main.main's defer LogFile *os.File )
Functions ¶
func Initialize ¶
func Initialize(mode string)
Initialize loads config file and initializes config variables
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.