summaryrefslogtreecommitdiff
path: root/queue.go
diff options
context:
space:
mode:
Diffstat (limited to 'queue.go')
-rw-r--r--queue.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/queue.go b/queue.go
new file mode 100644
index 0000000..11b9aa8
--- /dev/null
+++ b/queue.go
@@ -0,0 +1,16 @@
+package main
+
+//go:generate stringer -type=Type
+
+type Type int
+
+const (
+ Task Type = iota
+ Plot
+)
+
+type Queue struct {
+ Type Type
+ Duration int
+ Title string
+}