summaryrefslogtreecommitdiffhomepage
path: root/models.go
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-04-24 02:49:54 +0200
committerAki <please@ignore.pl>2021-04-24 02:49:54 +0200
commitd6226a4a928a386a29e173f7516e3c3d09681dc0 (patch)
tree1130cc49cddcee6a9529c2bab80099071299e643 /models.go
parent1cd08ba77e97014085e7f92f9ba589039b441b5a (diff)
downloadfield-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.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/models.go b/models.go
index d230525..37059dc 100644
--- a/models.go
+++ b/models.go
@@ -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
+}