structs

package
v0.0.0-...-603a23b Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: GPL-3.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Substitute

type Substitute struct {
	Date            time.Time `json:"date"`
	Hour            string    `json:"hour"`
	Teacher         string    `json:"teacher"`
	TeacherInitials string    `json:"initials"`
	Subject         string    `json:"subject"`
	Type            string    `json:"type"`
	Notes           string    `json:"notes"`
	Classes         string    `json:"classes"`
	Room            string    `json:"room"`
	Cancelled       bool      `json:"cancelled"`
	New             bool      `json:"new"`
}

Substitute struct for holding data

type SubstituteMeta

type SubstituteMeta struct {
	Date     time.Time `json:"date"`
	Class    string    `json:"class"`
	Extended bool      `json:"extended"`
	Updated  time.Time `json:"updated"`
}

type SubstituteResponse

type SubstituteResponse struct {
	Substitutes []Substitute   `json:"substitutes"`
	Meta        SubstituteMeta `json:"meta"`
}

type Version

type Version struct {
	Dirty   bool   `json:"dirty"`
	Hash    string `json:"hash"`
	Message string `json:"message"`
}

Version struct for displaying current application versoin

Jump to

Keyboard shortcuts

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