Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stop ¶
type Stop struct { // stop name, e.g. "Zürich, Brunau/Mutschellenstr." Name string // map key: line name, e.g. "72" or "*" for all // values: list of line terminals, e.g. // ["Zürich, Milchbuck", "Zürich, Albisriederplatz"] // empty list means all directions LineDirections map[string][]string // time it takes you to walk to this stop from your starting point TimeToStop time.Duration }
Stop is a public transport stop to list departures for.
Click to show internal directories.
Click to hide internal directories.