chinese-holidays-calendar/main.go
Muhan Li d7470c44bc dip
2022-03-05 05:05:44 +08:00

16 lines
328 B
Go

package main
import (
"main/parse/base"
"main/parse/core"
)
func main() {
holidays := core.Data().ReadFrom(base.SourceDir).Parse().Sort().Get()
holidays.Print("==== HOLIDAYS ====")
core.Data(holidays).WriteTo(base.IndexPage).Format(base.ICS).Set()
core.Data(holidays).WriteTo(base.HolidayICS).Format(base.ICS).Set()
}