Puzzle 4 Explanation: Go Types
Understand how nil can have a type.
We'll cover the following...
Try it yourself
Try executing the code below to see the result for yourself.
Press + to interact
package mainimport ("fmt")func main() {n := nilfmt.Println(n)}
Explanation
In Go, nil
is not a type ...