3 ms·
No, they are values that contain a pointer. Think of a struct that contains a pointer. Is that called a 'half-reference'? Take a look at this poor man's slic
by axaxs 11y ago
No, they are values that contain a pointer. Think of a struct that contains a pointer. Is that called a 'half-reference'? Take a look at this poor man's slice example using structs and pointers, does it make more sense now?
http://play.golang.org/p/Nnx5Z6DRNo http://play.golang.org/p/Nnx5Z6DRNo