mirror of
https://github.com/Luzifer/sii.git
synced 2024-12-20 16:11:17 +00:00
Fix: Profit logs contain pointer, not strings
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f324361cf8
commit
2f64ab29dc
1 changed files with 13 additions and 13 deletions
|
@ -12,11 +12,11 @@ type ProfitLogEntry struct {
|
|||
Distance int64 `sii:"distance"`
|
||||
DistanceOnJob bool `sii:"distance_on_job"`
|
||||
CargoCount int64 `sii:"cargo_count"`
|
||||
Cargo string `sii:"cargo"`
|
||||
SourceCity string `sii:"source_city"`
|
||||
SourceCompany string `sii:"source_company"`
|
||||
DestinationCity string `sii:"destination_city"`
|
||||
DestinationCompany string `sii:"destination_company"`
|
||||
Cargo Ptr `sii:"cargo"`
|
||||
SourceCity Ptr `sii:"source_city"`
|
||||
SourceCompany Ptr `sii:"source_company"`
|
||||
DestinationCity Ptr `sii:"destination_city"`
|
||||
DestinationCompany Ptr `sii:"destination_company"`
|
||||
TimestampDay int64 `sii:"timestamp_day"`
|
||||
|
||||
blockName string
|
||||
|
|
Loading…
Reference in a new issue