diff options
| author | Grant Ammons <gammons@gmail.com> | 2017-10-04 07:34:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-04 07:34:43 -0400 |
| commit | b3bd13d469ff1c072e5ff6dfe15267cc51e14db5 (patch) | |
| tree | 49bfa1d32b280be32ac42f1d0ddf1ef07f6809fe /todolist/printer.go | |
| parent | 0840e7a147d8594acec63fd1ce8aba9e15472839 (diff) | |
| parent | 6193b27cd7c71bcff5b5dd0cafb4f04172a73206 (diff) | |
Merge pull request #109 from gammons/refactor-printer
Refactor the formatter to an interface and rename it
Diffstat (limited to 'todolist/printer.go')
| -rw-r--r-- | todolist/printer.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/todolist/printer.go b/todolist/printer.go new file mode 100644 index 0000000..805cc6e --- /dev/null +++ b/todolist/printer.go @@ -0,0 +1,5 @@ +package todolist + +type Printer interface { + Print(*GroupedTodos, bool) +} |
