Closed drhodes closed 11 years ago
Thanks for the pull request. Can you change the name to RenderTo ?
Ok, I think that does it.
Can you also run 'make format' ? Or run:
gofmt -s -tabs=false -tabwidth=4 -w mustache.go gofmt -s -tabs=false -tabwidth=4 -w mustache_test.go
This pull request has a lot of other stuff in it, so it's hard to merge. Can you make a separate pull request for RenderTo?
Thanks for the great template library.
I needed to render to an io.Writer, so I added a method called RenderWriter.
I couldn't tell if you prefer to gofmt your code, so I didn't run it and tried to maintain your formatting. There's a new test called TestWriter and the docs were updated.