O'Reilly logo
  • Kevin Lozandier thinks this is interesting:

We have already seen numerous examples of structs in earlier chapters and in this chapter, and we will see many more throughout the rest of the book. Nonetheless, there are some struct features that we have not yet seen, so we will begin with some illustrative examples to show them.

points := [][2]int{{4, 6}, {}, {-7, 11}, {15, 17}, {14, -8}}
for _, point := range

From

Cover of Programming in Go: Creating Applications for the 21st Century

Note

Anonymous structs used this way is pretty awesome.