Add upstream stations types
This commit is contained in:
13
pkg/upstreamApi/knowledgebaseStations.go
Normal file
13
pkg/upstreamApi/knowledgebaseStations.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package upstreamApi
|
||||
|
||||
type StationList struct {
|
||||
Stations []Station `xml:"Station"`
|
||||
}
|
||||
|
||||
type Station struct {
|
||||
CrsCode string `xml:"CrsCode"`
|
||||
Name string `xml:"Name"`
|
||||
Longitude float64 `xml:"Longitude"`
|
||||
Latitude float64 `xml:"Latitude"`
|
||||
StationOperator string `xml:"StationOperator"`
|
||||
}
|
||||
Reference in New Issue
Block a user