Documentation ¶
Index ¶
- type DB
- type DBConfig
- type Logger
- func (l *Logger) Error(ctx context.Context, msg string, values ...interface{})
- func (l *Logger) Info(ctx context.Context, msg string, values ...interface{})
- func (l *Logger) LogMode(level gormLogger.LogLevel) gormLogger.Interface
- func (l *Logger) Trace(ctx context.Context, begin time.Time, ...)
- func (l *Logger) Warn(ctx context.Context, msg string, values ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func NewDBInConfig ¶
func (*DB) AutoMigrate ¶
func (*DB) CloseReader ¶
func (*DB) CloseWriter ¶
type Logger ¶
type Logger struct { gormLogger.Config // contains filtered or unexported fields }
func (*Logger) LogMode ¶
func (l *Logger) LogMode(level gormLogger.LogLevel) gormLogger.Interface
Click to show internal directories.
Click to hide internal directories.