Versions in this module Expand all Collapse all v0 v0.2.0 Dec 21, 2020 Changes in this version type Event + NextStop *Stop + TravelTime time.Duration v0.1.0 Oct 27, 2020 Changes in this version + var TimeRegex = regexp.MustCompile("^([0-9]+):?([0-5][0-9])$") + type Connection struct + Arrival time.Time + Legs []Leg + type Event struct + Departure Time + Line *Line + Segment *Segment + type Leg struct + FirstStop *Stop + LastStop *Stop + Line *Line + type Line struct + Id string + Name string + Segments []Segment + type Segment struct + NextStop *Stop + TravelTime time.Duration + type Stop struct + Events []Event + Id string + Name string + func NewStop(id, name string) *Stop + type Time string + func CreateTime(hour, minute int) Time + type Timetable struct + func NewTimetable(stops []*Stop) Timetable + func (t *Timetable) Query(source *Stop, target *Stop, start time.Time) *Connection