internal

package
v0.0.0-...-9287440 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DateLayout        = "02.01.2006"
	TimeOfStartLayout = "15:04"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot interface {
	Start(context.Context, []*Subject) error
	Shutdown(ctx context.Context) error
	ErrChan() chan error
}

type Parser

type Parser interface {
	Parse() ([]*Subject, error)
}

type Subject

type Subject struct {
	Discipline  *string
	Institute   string
	Department  *string
	Year        *int
	Group       string
	Professor   *string
	Date        *time.Time
	TimeOfStart *time.Time
	Classroom   *string
	Comment     *string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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