util

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClockDiff = [11]int{7, 6, 6, 7}
View Source
var ClockWithSecDiff = [11]int{7, 6, 6, 7, 6, 6, 7}
View Source
var SmallStopWatchDiff = [11]int{7, 6, 6, 7, 6, 6, 7, 6, 4, 7, 7}
View Source
var SmallStopWatchWithoutHourDiff = [8]int{7, 6, 6, 7, 6, 4, 7, 7}
View Source
var SmallTimerDiff = [11]int{7, 6, 6, 7, 6, 6, 7, 6, 4, 7, 7}
View Source
var SmallTimerWithoutHourAndMillisecondDiff = [11]int{7, 6, 6, 7, 6}
View Source
var SmallTimerWithoutHourDiff = [11]int{7, 6, 6, 7, 6, 4, 7, 7}
View Source
var SmallTimerWithoutMillisecondDiff = [11]int{7, 6, 6, 7, 6, 6, 7, 6}

Functions

func CaseNumber

func CaseNumber(termWidth int, termHeight int, color termbox.Attribute, Nowtime byte, diff int)

func Clock

func Clock(cCtx *cli.Context) error

func FlagColor

func FlagColor(ColorString string) termbox.Attribute

func SmallColon

func SmallColon(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallDot

func SmallDot(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallEight

func SmallEight(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallFive

func SmallFive(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallFour

func SmallFour(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallNine

func SmallNine(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallOne

func SmallOne(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallSeven

func SmallSeven(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallSix

func SmallSix(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallThree

func SmallThree(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallTwo

func SmallTwo(termWidth int, termHeight int, color termbox.Attribute, diff int)

func SmallZero

func SmallZero(termWidth int, termHeight int, color termbox.Attribute, diff int)

func Stopwatch

func Stopwatch(cCtx *cli.Context) error

func StopwatchFormatTime

func StopwatchFormatTime(d time.Duration, disableMillisecond bool) string

func StopwatchFormatTimeWihtoutHour

func StopwatchFormatTimeWihtoutHour(d time.Duration, disableMillisecond bool) string

func Timer

func Timer(cCtx *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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