Read more stories on Hashnode
Articles with this tag
Go allows us to use a struct as a field of another struct, this pattern is called nesting. A nested struct can be defined using the...
What is Struct?
A struct is a sequence of named elements, called fields, each of which has a name and a type. Field names may be specified explicitly...