Documentation
¶
Index ¶
- type BulkLoader
- func (_m *BulkLoader) LoadCustomers() (map[int]model.Customer, error)
- func (_m *BulkLoader) LoadCustomersAndProducts() (map[int]model.Customer, map[string]model.Product, error)
- func (_m *BulkLoader) LoadMonthInvoices(yearMonth model.YearMonth) ([]model.Invoice, error)
- func (_m *BulkLoader) LoadMonthInvoicesByPaymentType(yearMonth model.YearMonth) (map[payment_type.PaymentType][]model.Invoice, error)
- func (_m *BulkLoader) LoadMonthInvoicesCustomersAndProducts(yearMonth model.YearMonth) ([]model.Invoice, map[int]model.Customer, map[string]model.Product, error)
- func (_m *BulkLoader) LoadProducts() (map[string]model.Product, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkLoader ¶
BulkLoader is an autogenerated mock type for the BulkLoader type
func (*BulkLoader) LoadCustomers ¶
func (_m *BulkLoader) LoadCustomers() (map[int]model.Customer, error)
LoadCustomers provides a mock function with given fields:
func (*BulkLoader) LoadCustomersAndProducts ¶
func (_m *BulkLoader) LoadCustomersAndProducts() (map[int]model.Customer, map[string]model.Product, error)
LoadCustomersAndProducts provides a mock function with given fields:
func (*BulkLoader) LoadMonthInvoices ¶
LoadMonthInvoices provides a mock function with given fields: yearMonth
func (*BulkLoader) LoadMonthInvoicesByPaymentType ¶
func (_m *BulkLoader) LoadMonthInvoicesByPaymentType(yearMonth model.YearMonth) (map[payment_type.PaymentType][]model.Invoice, error)
LoadMonthInvoicesByPaymentType provides a mock function with given fields: yearMonth
func (*BulkLoader) LoadMonthInvoicesCustomersAndProducts ¶
func (_m *BulkLoader) LoadMonthInvoicesCustomersAndProducts(yearMonth model.YearMonth) ([]model.Invoice, map[int]model.Customer, map[string]model.Product, error)
LoadMonthInvoicesCustomersAndProducts provides a mock function with given fields: yearMonth
func (*BulkLoader) LoadProducts ¶
func (_m *BulkLoader) LoadProducts() (map[string]model.Product, error)
LoadProducts provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.