Help us shape the future of Go! Take the 2026 Go Developer Survey

fact

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DateLookups = map[int]NamedDay{}

DateLookups is a nested map of julian day to a NamedDay

Functions

This section is empty.

Types

type NamedDay

type NamedDay string
const (
	NamedDayNone           NamedDay = ""
	NamedDayEasterSunday   NamedDay = "easter sunday"
	NamedDayChristmasDay   NamedDay = "christmas day"
	NamedDayLadyDay        NamedDay = "lady day"
	NamedDayMichaelmas     NamedDay = "michaelmas"
	NamedDayCandlemas      NamedDay = "candlemas"
	NamedDayEpiphany       NamedDay = "epiphany"
	NamedDayAllSaintsDay   NamedDay = "all saints day"
	NamedDayMaundyThursday NamedDay = "maundy thursday"
	NamedDayPalmSunday     NamedDay = "palm sunday"
	NamedDayGoodFriday     NamedDay = "good friday"
	NamedDayAshWednesday   NamedDay = "ash wednesday"
	NamedDayAscensionDay   NamedDay = "ascension day"
	NamedDayWhitsunday     NamedDay = "whitsunday"
	NamedDayTrinitySunday  NamedDay = "trinity sunday"
)

func LookupNamedDay

func LookupNamedDay(dt *model.Date) NamedDay

func (NamedDay) String

func (n NamedDay) String() string

Jump to

Keyboard shortcuts

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