☰
Debian Codegraph
@
0.167.0-2
0.166.0-2
0.166.0-1
0.165.0-3
0.165.0-2
0.162.1-1
/
/
docs
/
content
/
en
/
quick-reference
/
glossary
/
slice.md
☽
☼
docs/content/en/quick-reference/glossary/slice.md
code
rendered
plain
raw
Apache-2.0
2013–2016 Steve Francia <
[email protected]
>; 2014–2025 Bjørn Erik Pedersen <
[email protected]
>; 2015–2025 The Hugo Authors
debian/copyright
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.