summaryrefslogtreecommitdiffhomepage
path: root/models.go
diff options
context:
space:
mode:
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
+}