Versions in this module Expand all Collapse all v0 v0.0.3 May 8, 2024 Changes in this version + func IsValidLineCode(lineCode string) (bool, error) + func IsValidLineName(lineIn string) (bool, error) + type Line struct + Code string + Disruptions []string + ID string + LastUpdated time.Time + Name string + Status string + StatusCode string + Type []string + func GetTubeLines() ([]Line, error) + type LineDetail struct + Code string + Name string + Narrative string + Stations []Station + Status string + StatusCode string + Type []string + func GetTubeLineDetails(lineCode string) (LineDetail, error) + type LineDetailImport []struct + type LineImport []struct + type Station struct + Code string + LineCode string + Name string + Status string + StatusCode string + Type []string + func GetStations(lineCode string, details LineImport) ([]Station, error) + type StationDetail struct + Code string + LineCode string + LineName string + Name string + Narrative string + Status string + StatusCode string + Type []string + func GetStationDetails(stationCode string) (StationDetail, error)