Add StationEntry type

This commit is contained in:
Fred Boniface 2024-03-26 15:45:59 +00:00
parent 5491671b8b
commit f85646ac1a

View File

@ -1,11 +1,18 @@
package database
type CorpusEntry struct {
CRS string `json:"3ALPHA"`
NLC int `json:"NLC"`
NLCDESC string `json:"NLCDESC"`
NLCDESC16 string `json:"NLCDESC16"`
STANOX string `json:"STANOX"`
TIPLOC string `json:"TIPLOC"`
UIC string `json:"UIC"`
CRS string `json:"3ALPHA,omitempty"`
NLC int `json:"NLC,omitempty"`
NLCDESC string `json:"NLCDESC,omitempty"`
NLCDESC16 string `json:"NLCDESC16,omitempty"`
STANOX string `json:"STANOX,omitempty"`
TIPLOC string `json:"TIPLOC,omitempty"`
UIC string `json:"UIC,omitempty"`
}
type StationEntry struct {
CRS string `json:"3ALPHA,omitempty"`
NLCDESC string `json:"NLCDESC,omitempty"`
STANOX string `json:"STANOX,omitempty"`
TIPLOC string `json:"TIPLOC,omitempty"`
}