From 19f8454a680c5231df68fee36ed9758587df316c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20J=C3=B8rgensen?= Date: Thu, 23 May 2024 21:34:28 +0200 Subject: Rudimentary task editing --- model.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 model.go (limited to 'model.go') 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 +} -- cgit v1.2.3