common

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandString

func RandString(n int) string

Types

type BulkLoader added in v0.18.0

type BulkLoader interface {
	LoadMonthInvoices() (invoices []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() (invoices []model.Invoice, customers map[int]model.Customer, products map[string]model.Product, err error)
}

func NewBulkLoader added in v0.18.0

func NewBulkLoader(configService ports.ConfigService, dbService ports.DbService) BulkLoader

Jump to

Keyboard shortcuts

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