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

@ -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"`
}