Versions in this module Expand all Collapse all v1 v1.1.0 Oct 24, 2023 v1.0.0 Oct 9, 2023 Changes in this version + func InitMysql(opts ...MySQLOption) *gorm.DB + func InitMysqlWithDatabase(db *gorm.DB, database string) *gorm.DB + type MemLock struct + func NewMemLock() *MemLock + func (l *MemLock) Lock(ctx context.Context, key string) (keyLock interface{}, err error) + func (l *MemLock) UnLock(ctx context.Context, keyLock interface{}) error + type MySQLOption struct + NoLog bool