3 ms·
You're correct about slice semantics but key here is actually a Go array, not a slice. So it's passing a pointer instead of an entire array.
by silisili 2y ago
You're correct about slice semantics but key here is actually a Go array, not a slice. So it's passing a pointer instead of an entire array.
- unsnap_biceps 2y agoAhh, thank you. Still very new to go :)