Versions in this module Expand all Collapse all v1 v1.0.1 Aug 31, 2023 Changes in this version + type CtxTx interface + Transaction func(ctx context.Context, fn func(ctx context.Context) error) error + func NewMongo(client *mongo.Client) CtxTx + type Tx interface + Transaction func(fn func(tx any) error) error + func NewGorm(db *gorm.DB) Tx