schema

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schema

type Schema []schemaNode

func Decode

func Decode(str string) (Schema, error)

func (Schema) Check

func (s Schema) Check(begin, end int, weekday time.Weekday, weekNum int) bool

Check if exist. especially, [begin,end] is a range , which means it returns true with input [1,12] if there is any course this day.

Jump to

Keyboard shortcuts

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