An important note about slices in Go

I’m new in Go and this seems important so it’s better to digest it and point it out. A slice is not an array. A slice describes a piece of an array. Its internal structure can be illustrated as the following: type sliceHeader struct { Length int ZerothElement *byte //Assuming that the array that we […]