Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkLoader ¶
type BulkLoader interface {
LoadMonthInvoices(yearMonth model.YearMonth) (invoices []model.Invoice, err error)
LoadMonthInvoicesByPaymentType(yearMonth model.YearMonth) (invoices map[payment_type.PaymentType][]model.Invoice, err error)
LoadProducts() (products map[string]model.Product, err error)
LoadCustomers() (customers map[int]model.Customer, err error)
LoadCustomersAndProducts() (customers map[int]model.Customer, products map[string]model.Product, err error)
LoadMonthInvoicesCustomersAndProducts(yearMonth model.YearMonth) (invoices []model.Invoice, customers map[int]model.Customer, products map[string]model.Product, err error)
}
func NewBulkLoader ¶
func NewBulkLoader(configService ports.ConfigService, dbService ports.DbService) BulkLoader
Click to show internal directories.
Click to hide internal directories.