Published March 10, 2021
| Version v1.1
Lesson
Open
Understanding slice in Golang
Creators
Description
A slice is a data type that is mutable and points to an underlying array consisting of an ordered sequence of elements that belong together. Since the length of a slice changes dynamically, in the Golang world it is widely used when the total number of elements is unknown or not fixed.
This tutorial demonstrates the concept of slices in Golang, how they ease the development phase, and dynamically increases the capacity of the underlying array during run-time.
Files
Golang.Slice.pdf
Files
(741.9 kB)
Name | Size | Download all |
---|---|---|
md5:d0791ca4c91db36151b4b6bce3ea608a
|
741.9 kB | Preview Download |
Additional details
Related works
- Is new version of
- Lesson: 10.5281/zenodo.4593813 (DOI)