Essential Go Basic types  Suggest an edit

Slices

A slice in Go is used where you would use an array in most other languages like Ruby, Python or C# or std::vector in C++.

A slice can grow and shrink in size. It's implemented as a view into underlying fixed size array.

Zero value of a slice is nil.

Learn more about slices.

  ↑ ↓ to navigate     ↵ to select     Esc to close