<feed xmlns='http://www.w3.org/2005/Atom'>
<title>todolist.git/todolist/printer.go, branch master</title>
<subtitle>Simple GTD-style todo list for the command line.
</subtitle>
<id>http://forge.jan.systems/todolist.git/atom?h=master</id>
<link rel='self' href='http://forge.jan.systems/todolist.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://forge.jan.systems/todolist.git/'/>
<updated>2017-10-03T11:20:41Z</updated>
<entry>
<title>Refactor the formatter to an interface and rename it</title>
<updated>2017-10-03T11:20:41Z</updated>
<author>
<name>Grant Ammons</name>
<email>gammons@gmail.com</email>
</author>
<published>2017-10-03T11:20:02Z</published>
<link rel='alternate' type='text/html' href='http://forge.jan.systems/todolist.git/commit/?id=08deecf1954f6cf748812057ba5cdd9a0425bfc9'/>
<id>urn:sha1:08deecf1954f6cf748812057ba5cdd9a0425bfc9</id>
<content type='text'>
This change refactors the formatter to be an interface called Printer.
`NewApp` will use the functionality of `ScreenPrinter`,  which is what I
refactored the old `Formatter` class into.

There is a new class the implements the `Printer` interface called
`MemoryPrinter`, which will simply store the `groups` as they were
passed to it.  This will allow tests in `app_test.go` to become much
more powerful, since `App` no longer needs to be tightly coupled to
printing to the screen.
</content>
</entry>
</feed>
