diff options
author | Aki <please@ignore.pl> | 2021-05-08 00:43:14 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-05-08 00:43:14 +0200 |
commit | 0c6f300f90bf576ffd67df7331fc57b55c5484d3 (patch) | |
tree | a89c3aed3c17fc0104c0e51be794a1f2eb95eef6 /models.go | |
parent | a446a7ddf00a700079960e73a9b82f46d22c6ce4 (diff) | |
download | field-0c6f300f90bf576ffd67df7331fc57b55c5484d3.zip field-0c6f300f90bf576ffd67df7331fc57b55c5484d3.tar.gz field-0c6f300f90bf576ffd67df7331fc57b55c5484d3.tar.bz2 |
Added start and end dates to recent items
Diffstat (limited to 'models.go')
-rw-r--r-- | models.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 { |