transaction.go 347 字节
package factory

import (
	"github.com/linmadan/egglib-go/core/application"
	pG "github.com/linmadan/egglib-go/transaction/pg"
	"gitlab.fjmaimaimai.com/mmm-go-pp/terms/pkg/infrastructure/pg"
)

func CreateTransactionContext(options map[string]interface{}) (application.TransactionContext, error) {
	return pG.NewPGTransactionContext(pg.DB), nil
}