Trying to get my mind around why the private() function is necessary here. I fail to understand the comment provided
type Geometry interface { GeoJSONType() string Dimensions() int // e.g. 0d, 1d, 2d Bound() Bound // requiring because sub package type switch over all possible types. private() } https://github.com/paulmach/orb/blob/master/geometry.go#L10 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/32e99338-dd59-4c34-8d0a-1d892a8a0655%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.