Documentation ¶
Index ¶
- func AutoMigrate(db *gorm.DB, dst ...interface{})
- func Close(db *gorm.DB)
- func Connect(options *Options) (*gorm.DB, error)
- func New[T any](db *query.AppIDB) query.DB[T]
- func NewDBTx(db *gorm.DB) query.DBTx
- func NewDbLogger(l *zap.Logger) logger.Interface
- func WithContext(ctx context.Context, db *gorm.DB) *gorm.DB
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoMigrate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.