Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
What version of Go are you using (
I must be going crazy.
But now I copied and pasted code and it ran successfully.
A possible explanation for original panic:
The original test code was pasted from the web and modified
Anyway, all is good now.