Search⌘ K

Slices of Structures

Let’s learn about structure slices in Go.

This lesson shows how to group structures of the same data type and use them as the elements of a slice.

About slices of structures

We can create slices of structures in order to group and handle multiple structures under a single variable name. However, accessing a field of a ...