summaryrefslogtreecommitdiff
path: root/model.go
diff options
context:
space:
mode:
Diffstat (limited to 'model.go')
-rw-r--r--model.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/model.go b/model.go
new file mode 100644
index 0000000..0f52ef9
--- /dev/null
+++ b/model.go
@@ -0,0 +1,11 @@
+package main
+
+import "time"
+
+type Task struct {
+ Id int
+ From *time.Time
+ To *time.Time
+ Tag *string
+ Comment string
+}