Spent way too much time on a slice and 'for range' problem while working on my API. I thought I knew it all, but turns out, I didn't
Go Tricky: A Bug with For-Range Loops and Pointer
Go Tricky: A Bug with For-Range Loops and…
Go Tricky: A Bug with For-Range Loops and Pointer
Spent way too much time on a slice and 'for range' problem while working on my API. I thought I knew it all, but turns out, I didn't