loader

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL