summaryrefslogtreecommitdiffstats
path: root/docs/content/en/quick-reference/glossary/array.md
blob: 0df45f2121a75a2ef2e537e87a1f8e313957fbd3 (plain) (blame)
1
2
3
4
5
6
---
title: array
reference: https://go.dev/ref/spec#Array_types
---

An _array_ is a numbered sequence of [_elements_](g). Unlike Go's [_slice_](g) data type, an array has a fixed length. Elements within an array can be [_scalars_](g), slices, [_maps_](g), pages, or other arrays.