Null object: Difference between revisions

→‎{{header|Go}}: added comments
(Go solution)
(→‎{{header|Go}}: added comments)
Line 204:
 
var (
s []int // slice type
p *int // pointer type
f func() // function type
i interface{} // interface type
m map[int]int // map type
c chan int // channel type
)
 
1,707

edits