Besides the basic aka. “primitives” data types there are some more advanced types.

To create own types you use structs

Especially for JSON the type interface as a kind of anonymous type is useful to know and understand.

We will first look at static structs which only contain data in the next chapter and then look at GOs way to object orientation, which is a more pragmatic view to objects as a collection of structs and functions which belong together.