Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FileMigrations string = "./db/migration"
)
Functions ¶
Types ¶
type DBPurchase ¶
type DBPurchase struct {
// contains filtered or unexported fields
}
func NewDBPurchase ¶
func NewDBPurchase(database *Database) DBPurchase
func (DBPurchase) Start ¶
func (db DBPurchase) Start() (core.TxPurchasePort, error)
type TxOrderAdapter ¶
type TxOrderAdapter struct {
// contains filtered or unexported fields
}
func (TxOrderAdapter) End ¶
func (t TxOrderAdapter) End() error
func (TxOrderAdapter) Rollback ¶
func (t TxOrderAdapter) Rollback() error
func (TxOrderAdapter) SavePurchase ¶
Click to show internal directories.
Click to hide internal directories.