Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DateFormat defines the format we expect to receive dates from BambooHR in DateFormat = "2006-01-02" // TimeFormat defines the format we expect to receive times from BambooHR in TimeFormat = "15:04" )
Variables ¶
This section is empty.
Functions ¶
func ASCIItoTviewColors ¶ added in v0.9.2
func PrettyDate ¶
PrettyDate takes a programmer-style date string and converts it in a friendlier-to-read format
Types ¶
type Enablable ¶ added in v0.18.0
Enablable is the interface that enforces enable/disable capabilities on a module
type Schedulable ¶ added in v0.18.0
Schedulable is the interface that enforces scheduling capabilities on a module
type Stoppable ¶ added in v0.19.1
type Stoppable interface {
Stop()
}
Stoppable is the interface that enforces a stoppable state
type Wtfable ¶
type Wtfable interface { Enablable Schedulable Stoppable BorderColor() string ConfigText() string FocusChar() string Focusable() bool HelpText() string QuitChan() chan bool Name() string SetFocusChar(string) TextView() *tview.TextView CommonSettings() *cfg.Common }
Wtfable is the interface that enforces WTF system capabilities on a module
Click to show internal directories.
Click to hide internal directories.