repositories

package
v0.0.0-...-ce1d76e Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIdPOSRepository

func NewIdPOSRepository(db *pinot.Connection) *idPOSRepository

func NewSalesRepository

func NewSalesRepository(db *pinot.Connection) *salesRepository

Types

type IdPOSRepository

type IdPOSRepository interface {
	GetIdPOS(ctx context.Context, limit int) (*pinot.BrokerResponse, error)
}

type SalesRepository

type SalesRepository interface {
	GetSalesSummaryGroupByStoreAndDivision(ctx context.Context) (*pinot.BrokerResponse, error)
	GetSalesSummaryByStoreAndDivision(ctx context.Context, storeCode uint32) (*pinot.BrokerResponse, error)
}

Jump to

Keyboard shortcuts

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