diff options
Diffstat (limited to 'golang/pkg/model/route.go')
-rw-r--r-- | golang/pkg/model/route.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/golang/pkg/model/route.go b/golang/pkg/model/route.go index 0533e61..0d104b2 100644 --- a/golang/pkg/model/route.go +++ b/golang/pkg/model/route.go @@ -3,9 +3,9 @@ package model import "time" type Route struct { - Arrival time.Time `json:"arrival"` - DepartureTime time.Time `json:"departureTime"` - Destination RouteEndpoint `json:"destination"` + Arrival time.Time `json:"arrival"` + DepartureTime time.Time `json:"departureTime"` + Destination *RouteEndpoint `json:"destination"` } type RouteEndpoint struct { |