Skip to content

Commit 7f85594

Browse files
committed
(routes) gtfs-data/GTFSPlan +Date +From +To
1 parent a48ecf1 commit 7f85594

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

routes/gtfs-data.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@ type Itinerary struct {
123123

124124
// GTFSPlan consists of multiples itineraries
125125
type GTFSPlan struct {
126+
// The time and date of travel
127+
Date int `json:"date"`
128+
129+
// The origin
130+
From Place `json:"from"`
131+
132+
// The destination
133+
To Place `json:"to"`
134+
135+
// A list of possible itineraries
126136
Itineraries []Itinerary `json:"itineraries"`
127137
}
128138

0 commit comments

Comments
 (0)