Zero values

Download go eBook


One thing to note - types that have a non-nil zero value like strings, ints, floats, bools and structs can't be set to nil.

Related Examples


34 Contributors: 3
Saturday, April 8, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook