Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
text/template: panic during "Templates" execution on new template #3872
What steps will reproduce the problem? If possible, include a link to a program on play.golang.org. 1. Execute template.New("Name").Templates() http://play.golang.org/p/myKyI7LmZF What is the expected output? None What do you see instead? panic: runtime error: invalid memory address or nil pointer dereference Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? x86_64 GNU/Linux Which version are you using? (run 'go version') go version go1.0.2 Please provide any additional information below.