Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupsRecord ¶
type NOCLinesRecord ¶
type NOCLinesRecord struct { NOCCode string `xml:"NOCCODE"` PublicName string `xml:"PubNm"` ReferenceName string `xml:"RefNm"` Licence string Mode string EBSRAgent string London string `xml:"LO"` SouthWest string `xml:"SW"` WestMidlands string `xml:"WM"` Wales string `xml:"WA"` Yorkshire string `xml:"YO"` NorthWest string `xml:"NW"` NorthEast string `xml:"NE"` Scotland string `xml:"SC"` SouthEast string `xml:"SE"` EastAnglia string `xml:"EA"` EastMidlands string `xml:"EM"` NorthernIreland string `xml:"NI"` }
type NOCTableRecord ¶
type OperatorsRecord ¶
type PublicNameRecord ¶
type TravelineData ¶
type TravelineData struct { GenerationDate string `xml:",attr"` NOCLinesRecords []NOCLinesRecord NOCTableRecords []NOCTableRecord OperatorsRecords []OperatorsRecord GroupsRecords []GroupsRecord ManagementDivisionsRecords []ManagementDivisionsRecord PublicNameRecords []PublicNameRecord }
func (*TravelineData) Import ¶
func (t *TravelineData) Import(dataset datasets.DataSet, datasource *ctdf.DataSource) error
Click to show internal directories.
Click to hide internal directories.