Initializing slices in Go

A Go slice is a window on an underlying array. When you initialize a slice in Go, it creates an underlying array and creates a slice to reference the array.[1]


Disclaimer

Ideas may still be growing

Notes in my digital garden are written primarily for my own reference and understanding. They may be unfinished, unorganized, outdated, and/or incorrect.


  1. Ian Harris,(2024). Programming with Google Go. Coursera. ↩︎