algorithms

package
v0.0.0-...-ecde71a Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Normal waitTimeRank = iota
	Busy
	Superbusy
)

rank -

Variables

This section is empty.

Functions

This section is empty.

Types

type WaitTime

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

WaitTime -

func CalculateWaitTime

func CalculateWaitTime(strID string, datetime time.Time) WaitTime

CalculateWaitTime - it's will be most important in the future, now it just check if the day is holiday, weekend or specialday

func (WaitTime) List

List waitTime list(every 15m)

func (WaitTime) String

func (wt WaitTime) String() string

String for print out

Jump to

Keyboard shortcuts

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