domain_service.go 637 字节
package factory

import (
//pgTransaction "github.com/linmadan/egglib-go/transaction/pg"
//"gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/domain/service"
//domainService "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/infrastructure/domain_service"
)

//func CreateReadSentNotificationService(options map[string]interface{}) (service.ReadSentNotificationService, error) {
//	var transactionContext *pgTransaction.TransactionContext
//	if value, ok := options["transactionContext"]; ok {
//		transactionContext = value.(*pgTransaction.TransactionContext)
//	}
//	return domainService.NewReadSentNotificationService(transactionContext)
//}