Versions in this module Expand all Collapse all v0 v0.1.0 Nov 15, 2026 Changes in this version + var CtxDatabase = struct{ ... } + var CtxTransaction = struct{ ... } + func ContextExecutor(ctx context.Context, dbs ...*gorm.DB) *gorm.DB + func ContextTransaction(ctx context.Context, dbs ...*gorm.DB) (*gorm.DB, context.Context, bool, error) + func Master(ctx context.Context) *gorm.DB + func Readonly(ctx context.Context) *gorm.DB + func WithDatabase(ctx context.Context, master, slave *gorm.DB) context.Context