services

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIdPOSService

func NewIdPOSService(idPOSRepo repositories.IdPOSRepository) *idPOSService

func NewSalesService

func NewSalesService(salesRepo repositories.SalesRepository) *salesService

Types

type IdPOSService

type IdPOSService interface {
	GetIdPOS(ctx context.Context, limit int) []interface{}
}

type SalesService

type SalesService interface {
	GetSalesSummaryGroupByStoreAndDivision(ctx context.Context) ([]interface{}, error)
	GetSalesSummaryByStoreAndDivision(ctx context.Context, storeCode uint32) []interface{}
}

Jump to

Keyboard shortcuts

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