1 min read 22 words Updated Nov 16, 2026 Created Nov 30, 2026
#Go#Programming

Only Pointers can be nil. Setting other values to nil leads to an error.

var p *int an empty pointer is nil.