kevinl (37) [Avatar] Offline
#1
There seems to be an error with the code associating with 5.7 Nesting templates.

Even when the code is ran the following commands that provided no signs of lexical errors the parser or tokenizer was able to recognize before the panic occurs when the the process handler is actually ran:
golint
,
go get
,

For the sake of the Sau's convenience, I've attached a gist of the exact code I ran (https://gist.github.com/lozandier/a91e7ea5439316bb5515) & a screenshot is attached of the full panic message.
Sau Sheong (20) [Avatar] Offline
#2
I apologise for this. The code in the book chapter is wrong, you should go to the GitHub repository at https://github.com/sausheong/gwp/tree/master/Chapter_5_Displaying_Content/nested2 for the actual working code.

Thanks for catching this!!