calendar

package
v0.0.0-...-b03bf0d Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date struct {
	// contains filtered or unexported fields
}

func (*Date) Day

func (d *Date) Day() int

func (*Date) Month

func (d *Date) Month() int

func (*Date) SetDay

func (d *Date) SetDay(day int) error

func (*Date) SetMonth

func (d *Date) SetMonth(month int) error

func (*Date) SetYear

func (d *Date) SetYear(year int) error

setter方法是用来将值设置给struct字段或者变量的方法。 getter方法是获取struct字段或者变量值的方法。

func (*Date) Year

func (d *Date) Year() int

type Event

type Event struct {
	Date
	// contains filtered or unexported fields
}

func (*Event) SetTitle

func (e *Event) SetTitle(title string) error

func (*Event) Title

func (e *Event) Title() string

Jump to

Keyboard shortcuts

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