Y
Hacker News
new
|
ask
|
show
|
jobs
by
atombender
289 days ago
The zero value of a map is indeed nil in Go: This prints true (
https://go.dev/play/p/8dXgo8y2KTh
):
var m map[string]int println(m == nil)
1 comments
binary132
289 days ago
Ok, true!
link