holiday

package
v0.0.0-...-8f68b79 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 6 Imported by: 0

README

got/holiday 节日包

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Holiday

type Holiday struct {
	Name    string    `json:"name"`       // 节日名称
	Sdate   time.Time `json:"start_date"` // 节日开始日期
	Edate   time.Time `json:"end_date"`   // 节日结束日期
	WorkDay string    `json:"work_day"`   // 调班工作日
	DayNum  int       `json:"day_num"`    // 放假天数
	DayUnit string    `json:"day_unit"`   // 放假天数单位(默认:天)
}

func Query

func Query(year int) (YearHolidList []Holiday, err error)

Jump to

Keyboard shortcuts

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