Zero values

Download go eBook

Remarks

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

Stats

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

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook