Versions in this module Expand all Collapse all v1 v1.0.0 Apr 5, 2024 Changes in this version + func Open(options Options, gormOpts ...gorm.Option) (*gorm.DB, error) + type Logger struct + func NewLogger(logger *slog.Logger) *Logger + func (g *Logger) Error(ctx context.Context, s string, i ...interface{}) + func (g *Logger) Info(ctx context.Context, s string, i ...interface{}) + func (g *Logger) LogMode(level logger.LogLevel) logger.Interface + func (g *Logger) Trace(ctx context.Context, begin time.Time, ...) + func (g *Logger) Warn(ctx context.Context, s string, i ...interface{}) + type Options = dbx.Options