Versions in this module Expand all Collapse all v0 v0.0.1 Dec 13, 2021 Changes in this version + func Gorm(options ...gorm.Option) dio.PluginConfig + type GormConfiguration struct + Database string + Host string + Log *system.Log + Logger *GormLogger + MaxIdle int + MaxIdleTime string + MaxLifeTime string + MaxOpen int + Parameters string + Password string + Port int + Username string + func (c *GormConfiguration) AfterPropertiesSet(container di.DI) + func (c *GormConfiguration) BeanConstruct(container di.DI) + func (c *GormConfiguration) BeanName() string + type GormLogger struct + IgnoreRecordNotFoundError bool + Level int + Log *system.Log + SlowThreshold string + func (l *GormLogger) AfterPropertiesSet() + func (l *GormLogger) BeanConstruct() + func (l *GormLogger) BeanName() string + func (l *GormLogger) LogMode(level logger.LogLevel) logger.Interface + func (l GormLogger) Error(ctx context.Context, msg string, data ...interface{}) + func (l GormLogger) Info(ctx context.Context, msg string, data ...interface{}) + func (l GormLogger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) + func (l GormLogger) Warn(ctx context.Context, msg string, data ...interface{}) + type GormOptions struct + Options []gorm.Option + func (c *GormOptions) BeanName() string