bwag icon indicating copy to clipboard operation
bwag copied to clipboard

Error in render example

Open codegangsta opened this issue 10 years ago • 0 comments

In the section "Using the render package," the render call using the example template doesn't do what you would expect.

http://codegangsta.gitbooks.io/building-web-apps-with-go/content/rendering/render/README.html

Specifically, by passing "nil" it will not render anything in the {{.}} bit. This was pretty easy for even a "go-newbie" to figure out, but then again I have a lot of non-Go programming experience. It might be confusing to an overall beginner.

Keep up the good work, and once again thanks for your contributions!

codegangsta avatar Jan 24 '15 23:01 codegangsta