progrium/viewdocs — pull request #28 by elimisteve (2014-03-08 05:23:17+00:00)
Title: fetchAndRenderDoc: Read from 'template' chan now guaranteed

If `fetchAndRenderDoc` returns early, its spawned goroutine will stick around forever, waiting for a channel read on `template`. This change guarantees that said read occurs.