[golang] implement ship refueling
This commit is contained in:
parent
23dd8f4a27
commit
01263017fc
8 changed files with 121 additions and 6 deletions
14
golang/pkg/model/transaction.go
Normal file
14
golang/pkg/model/transaction.go
Normal file
|
@ -0,0 +1,14 @@
|
|||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type Transaction struct {
|
||||
PricePerUnit int `json:"pricePerUnit"`
|
||||
ShipSymbol string `json:"shipSymbol"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
TotalPrice int `json:"totalPrice"`
|
||||
TradeSymbol string `json:"tradeSymbol"`
|
||||
Type string `json:"type"`
|
||||
Units int `json:"units"`
|
||||
WaypointSymbol string `json:"waypointSymbol"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue