conversion

package
v0.0.0-...-682275c Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Classes = []string{"10А", "10Б", "10В", "10Г", "10Д"}
View Source
var LessonTime = map[int]string{
	1: "08:00",
	2: "08:50",
	3: "09:50",
	4: "10:50",
	5: "11:50",
	6: "12:40",
	7: "13:30",
	8: "14:30",
	9: "15:30",
}

Functions

func Format

func Format()

Types

type Class

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

type Day

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

type Lesson

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

type Schedule

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

func (*Schedule) AssignSchedule

func (schedule *Schedule) AssignSchedule(m *sync.Mutex)

func (Schedule) AvailableDates

func (schedule Schedule) AvailableDates() []string

func (*Schedule) GetSchedule

func (schedule *Schedule) GetSchedule()

func (Schedule) PrettyPrint

func (schedule Schedule) PrettyPrint(name, day string) string

func (*Schedule) ScheduleClear

func (schedule *Schedule) ScheduleClear(rang int, m *sync.Mutex)

Jump to

Keyboard shortcuts

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