Syntax

struct {
  KEY_NAME VALUE_TYPE
  [...]
}[ optional instances ]

Examples

person := struct {
	Name string
	Age  int
}{"Kim", 22}
point := struct {
	x, y int
}