Documentation ¶
Index ¶
- type UoW
- func (u *UoW) Commit(_ context.Context) error
- func (u *UoW) CreateInvoices(invoices []entities.Invoice, template entities.InvoiceTemplate)
- func (u *UoW) CreateTemplate(template entities.InvoiceTemplate)
- func (u *UoW) DeleteInvoice(id uint64)
- func (u *UoW) DeleteTemplate(id uint64)
- func (u *UoW) UpdateInvoice(invoice entities.Invoice)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UoW ¶
type UoW struct {
// contains filtered or unexported fields
}
func (*UoW) CreateInvoices ¶
func (u *UoW) CreateInvoices(invoices []entities.Invoice, template entities.InvoiceTemplate)
func (*UoW) CreateTemplate ¶
func (u *UoW) CreateTemplate(template entities.InvoiceTemplate)
func (*UoW) DeleteInvoice ¶
func (*UoW) DeleteTemplate ¶
func (*UoW) UpdateInvoice ¶
Click to show internal directories.
Click to hide internal directories.