fmt.Println("it's a", i)
Should be something like:
fmt.Println("it's a %T", i)
See http://golang.org/pkg/fmt/ for more options.
[update]
Forgot they allowed to send pull requests; done :)
I figured they ment to do the latter, since the next print function outputs: "it's a string".
fmt.Println("it's a", i)
Should be something like:
fmt.Println("it's a %T", i)
See http://golang.org/pkg/fmt/ for more options.
[update]
Forgot they allowed to send pull requests; done :)