Hacker symbol

September 8, 2019 ~ 1 min read

Arrays and slices


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"}

Sebastian BolaƱos

Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on trustless systems.