aboutsummaryrefslogtreecommitdiffstats
path: root/todolist/memory_printer.go
diff options
context:
space:
mode:
Diffstat (limited to 'todolist/memory_printer.go')
-rw-r--r--todolist/memory_printer.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/todolist/memory_printer.go b/todolist/memory_printer.go
new file mode 100644
index 0000000..62eaa83
--- /dev/null
+++ b/todolist/memory_printer.go
@@ -0,0 +1,9 @@
+package todolist
+
+type MemoryPrinter struct {
+ Groups *GroupedTodos
+}
+
+func (m *MemoryPrinter) Print(groupedTodos *GroupedTodos, printNotes bool) {
+ f.Groups = groupedTodos
+}