From 0c6f300f90bf576ffd67df7331fc57b55c5484d3 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 8 May 2021 00:43:14 +0200 Subject: Added start and end dates to recent items --- models.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'models.go') diff --git a/models.go b/models.go index 95c30c8..d79850b 100644 --- a/models.go +++ b/models.go @@ -14,6 +14,8 @@ type Team []uint32 type Battle struct { Id string `json:"-"` LastModified time.Time `json:"-"` + StartTime time.Time `json:"started_at"` + EndTime time.Time `json:"ended_at"` Teams [2]Team `json:"teams"` Killmails []Killmail `json:"killmails"` Name string `json:"name"` @@ -28,6 +30,7 @@ type EsiKillmail struct { Z float64 `json:"z"` } `json:"position"` } `json:"victim"` + Time time.Time `json:"killmail_time"` } type EsiUniverseSystem struct { -- cgit v1.1