Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDownloadFromSourceFail error = errors.New("could not download data")
View Source
var ErrInvalidCSVData error = errors.New("invalid CSV from STWNO")
View Source
var ErrInvalidUniversityRequest error = errors.New("invalid university provided")
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
func NewDatastore ¶
func NewDatastore() *Datastore
func (*Datastore) GetJsonDay ¶
GetJsonDay returns the JSON data of dishes for the given university and day of the timestamp. The slice may be empty, with no error.
Click to show internal directories.
Click to hide internal directories.