Debian Codegraph @

docs/content/en/quick-reference/glossary/slice.md

raw
1 ---
2 title: slice
3 reference: https://go.dev/ref/spec#Slice_types
4 ---
5
6 A _slice_ is a numbered sequence of elements. Unlike Go's [_array_](g) data type, slices are dynamically sized. [_Elements_](g) within a slice can be [_scalars_](g), [_arrays_](g), [_maps_](g), pages, or other slices.