generate

package
v0.0.0-...-d838f33 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClassStartTimeHunnan = []string{
	"083000",
	"093000",
	"104000",
	"114000",
	"140000",
	"150000",
	"161000",
	"171000",
	"183000",
	"193000",
	"203000",
	"213000",
}

作息时间表,浑南上课时间

View Source
var ClassStartTimeNanhu = []string{
	"080000",
	"090000",
	"101000",
	"111000",
	"140000",
	"150000",
	"161000",
	"171000",
	"183000",
	"193000",
	"203000",
	"213000",
}

作息时间表,南湖上课时间

Functions

func GenerateIcs

func GenerateIcs(html string, schoolStartDay time.Time) (string, error)

从html源码生成ics文件内容

Types

type Course

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

课程信息

type CourseTime

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

课程具体时间,周几第几节

Jump to

Keyboard shortcuts

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