Training
Module
Use data types and structs, arrays, slices, and maps in Go - Training
Learn about structs, arrays, slices, and maps. Understand the difference between them and when to use one type over the other.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Normal C semantics apply to the fields of base types. Fields of more complex types, such as pointers, arrays, and other constructed types, can be modified by type or field_attributes. For more information, see struct.
Training
Module
Use data types and structs, arrays, slices, and maps in Go - Training
Learn about structs, arrays, slices, and maps. Understand the difference between them and when to use one type over the other.