Learning Go: A Slice of Go
Published in
6 min readMar 17, 2020
In this article I’m going to demonstrate how to use the slice data structure. Slices are unbound sequences of data of the same type. A slice can grow and shrink so it is not fixed in size the way arrays are fixed. There is a lot to say about slices so I will continue discussing them in my next article as well.
Before I go into how to work with slices, I need to mention that an overwhelming number of programming…