[golang] implement ship refueling
This commit is contained in:
parent
23dd8f4a27
commit
01263017fc
8 changed files with 121 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue