Versions in this module Expand all Collapse all v1 v1.0.8 Jul 8, 2022 Changes in this version + const BasicDateFormat + const BasicDatetimeFormat + const DefaultPage + const DefaultPageSize + const MaxPage + const MaxPageSize + const StatusActive + const StatusDelete + const StatusDisable + const StatusInitialize + var MySQL *xorm.Engine + var Redis *redis.Pool + func Delete(sqlOrArgs ...interface{}) (int64, error) + func ExecuteSQL(sqlOrArgs ...interface{}) (int64, error) + func GetMySQLClient(c conf.MySQLConfig) *xorm.Engine + func GetRedisClient(c conf.RedisConfig) *redis.Pool + func InitClient() + func Insert(sqlOrArgs ...interface{}) (int64, error) + func Update(sqlOrArgs ...interface{}) (int64, error)