Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { DepartureTime string `json:"departureTime" csv:"departure_time"` ArrivalTime string `json:"arrivalTime" csv:"arrival_time"` TrainTypes string `json:"trainTypes" csv:"train_types"` // string of all taken train types eg "IC IC L" ViaText string `json:"viaText" csv:"via_text"` // string with instrutction of vias }
func GetConnection ¶
func GetConnection(from, to, timesel, timeString, dateString string) ([]Connection, error)
GetConnection gets a connection between 2 stations
Click to show internal directories.
Click to hide internal directories.