diff options
author | Aki <please@ignore.pl> | 2021-04-24 02:49:54 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-04-24 02:49:54 +0200 |
commit | d6226a4a928a386a29e173f7516e3c3d09681dc0 (patch) | |
tree | 1130cc49cddcee6a9529c2bab80099071299e643 /models.go | |
parent | 1cd08ba77e97014085e7f92f9ba589039b441b5a (diff) | |
download | field-d6226a4a928a386a29e173f7516e3c3d09681dc0.zip field-d6226a4a928a386a29e173f7516e3c3d09681dc0.tar.gz field-d6226a4a928a386a29e173f7516e3c3d09681dc0.tar.bz2 |
Moved storage handling to another file
Diffstat (limited to 'models.go')
-rw-r--r-- | models.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,9 @@ package main +import ( + "time" +) + type Killmail struct { Id string `json:"id"` Hash string `json:"hash"` @@ -9,3 +13,8 @@ type Wreck struct { Killmail Team string `json:"team"` } + +type Battle struct { + Id string + Date time.Time +} |