date

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindDate = ast.NewNodeKind("Date")

Functions

This section is empty.

Types

type Calendar added in v1.7.2

type Calendar struct{}

func (Calendar) Attrs added in v1.7.2

func (Calendar) Attrs() map[template.HTMLAttr]any

func (Calendar) Icon added in v1.7.2

func (Calendar) Icon() string

func (Calendar) Name added in v1.7.2

func (Calendar) Name() string

type Date added in v1.7.0

type Date struct{}

func (Date) Init added in v1.7.0

func (Date) Init()

func (Date) Name added in v1.7.0

func (Date) Name() string

type DateNode

type DateNode struct {
	ast.BaseInline
	// contains filtered or unexported fields
}

func (*DateNode) Dump

func (d *DateNode) Dump(source []byte, level int)

func (*DateNode) Kind

func (d *DateNode) Kind() ast.NodeKind

type Day added in v1.7.2

type Day struct {
	Date  time.Time
	Pages []Page
}

type Month added in v1.7.2

type Month struct {
	Name string
	Days [6][7]*Day // 6 weeks, 7 days per week
}

type Year added in v1.7.2

type Year struct {
	Year   int
	Months []Month
}

Jump to

Keyboard shortcuts

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