nationalrailtoc

package
v0.0.0-...-73876c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactDetails

type ContactDetails struct {
	Telephone    string `xml:"PrimaryTelephoneNumber>TelNationalNumber"`
	EmailAddress string

	PostalAddress PostalAddress
}

type PostalAddress

type PostalAddress struct {
	Line     []string
	PostCode string
}

type TrainOperatingCompany

type TrainOperatingCompany struct {
	AtocCode        string
	AtocMember      bool
	StationOperator bool
	Name            string
	LegalName       string
	CompanyWebsite  string

	CustomerService ContactDetails `xml:"SupportAndInformation>CustomerService>ContactDetails"`
}

type TrainOperatingCompanyList

type TrainOperatingCompanyList struct {
	Companies []TrainOperatingCompany `xml:"TrainOperatingCompany"`
}

func (*TrainOperatingCompanyList) Import

func (t *TrainOperatingCompanyList) Import(dataset datasets.DataSet, datasource *ctdf.DataSource) error

func (*TrainOperatingCompanyList) ParseFile

func (t *TrainOperatingCompanyList) ParseFile(reader io.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL