[1] https://github.com/pravj/geo_pattern/blob/master/svg/svg.go#...
[2] https://golang.org/doc/effective_go.html#type_switch