Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MysqlConfig = MysqlConfigType{ DbUser: os.Getenv("MYSQL_USER"), DbPassword: os.Getenv("MYSQL_PASSWORD"), DbHost: os.Getenv("MYSQL_HOST"), DbName: os.Getenv("MYSQL_DATABASE"), DbPort: os.Getenv("DB_PORT"), }
View Source
var MysqlConnection = fmt.Sprintf("%s:%s@tcp(%s:%s)/%s?charset=utf8mb4&parseTime=true&loc=Local", MysqlConfig.DbUser, MysqlConfig.DbPassword, MysqlConfig.DbHost, MysqlConfig.DbPort, MysqlConfig.DbName)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.