Go Slices: usage and internals You can have the compiler count the array elements for you:
b := [...]string{"Penn", "Teller"} # is the same as b := [2]string{"Penn", "Teller"}
September 8, 2019 ~ 1 min read
Go Slices: usage and internals You can have the compiler count the array elements for you:
b := [...]string{"Penn", "Teller"} # is the same as b := [2]string{"Penn", "Teller"}
Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.