March 2020
Intermediate to advanced
406 pages
8h 39m
English
An array in Go is similar to that of an array in C++. Go's array structures are statically defined during compile time and are not resizable. Arrays are implemented in Go in the following manner:
arrayExample := [5]string{"foo", "bar", "baz", "go", "rules"}
This array holds the values of the strings defined in the arrayExample variable, which is defined as an array.
Read now
Unlock full access