Versions in this module Expand all Collapse all v1 v1.1.2 Apr 19, 2022 v1.1.1 Apr 19, 2022 Changes in this version + const ExceptionTypeAdded + const ExceptionTypeRemoved + const RouteTypeBus + const RouteTypeCableCar + const RouteTypeFerry + const RouteTypeFunicular + const RouteTypeGondola + const RouteTypeRail + const RouteTypeSubway + const RouteTypeTram + func Dump(g *GTFS, dirPath string, filter map[string]bool) error + type Agency struct + ID string + Langue string + Name string + Phone string + Timezone string + URL string + type Calendar struct + End string + Friday int + Monday int + Saturday int + ServiceID string + Start string + Sunday int + Thursday int + Tuesday int + Wednesday int + type CalendarDate struct + Date string + ExceptionType int + ServiceID string + type GTFS struct + Agencies []Agency + Agency Agency + CalendarDates []CalendarDate + Calendars []Calendar + Path string + Routes []Route + Stops []Stop + StopsTimes []StopTime + Transfers []Transfer + Trips []Trip + func Load(dirPath string, filter map[string]bool) (*GTFS, error) + func LoadSplitted(dirPath string, filter map[string]bool) ([]*GTFS, error) + type Route struct + AgencyID string + Color string + Desc string + ID string + LongName string + ShortName string + TextColor string + Type int + URL string + type Stop struct + Code string + Description string + ID string + Latitude float64 + Longitude float64 + Name string + Parent string + Type string + type StopTime struct + Arrival string + Departure string + Shape float64 + StopHeadSign string + StopID string + StopSeq string + TripID string + type Transfer struct + FromStopID string + MinTime int + ToStopID string + Type int + type Trip struct + DirectionID string + Headsign string + ID string + Name string + RouteID string + ServiceID string + ShapeID string