util

package
v0.0.0-...-8924cf8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteHistoricalFiles

func DeleteHistoricalFiles(num int, directory, prefix, suffix string) error

DeleteHistoricalFiles only keeps the latest num files matching prefix & suffix in directory

func FormatFrequency

func FormatFrequency(freq string) string

FormatFrequency returns a string with frequency formatted like 999.999.99

func GenerateStatusImage

func GenerateStatusImage(clr color.Color) image.Image

func ScheduleRecurring

func ScheduleRecurring(what func(), delay time.Duration) chan bool

ScheduleRecurring creates a recurring task, returns quit channel

Types

This section is empty.

Jump to

Keyboard shortcuts

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