|
|
|
|
|
by simiones
1749 days ago
|
|
There are no such things as "reference types" in Go, though slices do have the extremely odd behavior that they can take the value `nil`, similarly to interfaces and unlike any other non-pointer type in Go. Pointers to "fat pointer" types are sometimes needed, just like you sometimes need pointers-to-pointers. |
|
[0] https://play.golang.org/p/xtY_ASExQzR