outlet

package
v0.0.0-...-b59b4a3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentDate

func GetCurrentDate() time.Time

Types

type Outlet

type Outlet struct {
	// contains filtered or unexported fields
}

func NewOutlet

func NewOutlet(outletID, location string, numberOfEvents int, holidayEvents map[string]time.Time) *Outlet

func (*Outlet) CheckAndNotify

func (o *Outlet) CheckAndNotify(date time.Time)

func (*Outlet) GetLocation

func (o *Outlet) GetLocation() string

func (*Outlet) GetNumberOfProducts

func (o *Outlet) GetNumberOfProducts(productName string) int

func (*Outlet) GetOutletID

func (o *Outlet) GetOutletID() string

Jump to

Keyboard shortcuts

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