• A named type S CAN NOT declare a field with the same type S, but it can contains a field with type *S, for recursive data structure
  • Zero struct fields are zero value as well
  • Empty struct can be declared as “struct {}”, contains no field

Tags:

Updated: