colors

package
v0.0.0-...-521ab6b Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MonthToMonth

func MonthToMonth(input string) time.Month

func PrintColorBlock

func PrintColorBlock(c Color)

func PrintColors

func PrintColors(colors []Color, occasion string, day time.Time)

func TodayIs

func TodayIs(input string, today time.Time) bool

func TodayIsRange

func TodayIsRange(input string, n int, today time.Time) bool

Types

type Color

type Color struct {
	R, G, B uint8
}

func GetDaysColors

func GetDaysColors(day time.Time) []Color

Jump to

Keyboard shortcuts

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