Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProdConfig product config ProdConfig = "config.toml" // TestConfig test config TestConfig = "test-config.toml" )
Variables ¶
View Source
var Global = &Config{}
View Source
var JWT = &(Global.JWT)
View Source
var Mail = &(Global.Email)
View Source
var MySQL = &(Global.MySQL)
Functions ¶
func LoadConfig ¶
func LoadConfig(filePath string)
Types ¶
Click to show internal directories.
Click to hide internal directories.