1 2 3 4 5 6 7 8 9
package todolist type MemoryPrinter struct { Groups *GroupedTodos } func (m *MemoryPrinter) Print(groupedTodos *GroupedTodos, printNotes bool) { m.Groups = groupedTodos }