1
0
Fork 0

[golang] implement ship refueling

This commit is contained in:
Julien Dessaux 2025-02-12 23:55:18 +01:00
parent 23dd8f4a27
commit 01263017fc
Signed by: adyxax
GPG key ID: F92E51B86E07177E
8 changed files with 121 additions and 6 deletions

View file

@ -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 {