Add upstream stations types

This commit is contained in:
Fred Boniface
2024-06-28 15:05:31 +01:00
parent 86c599e17d
commit 7eb7b7ea0a
2 changed files with 19 additions and 58 deletions

View 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"`
}