On Tue, 11 Aug 2020, at 3:38 PM, Sina Siadat wrote: > Hi golang-dev :) > > I was wondering what would be an idiomatic Go way > to implement a basic sum type in Go. After several > iterations I came up with 2 approaches I will share here.
You may be interested in the discussions on https://github.com/golang/go/issues/19412 if you haven't already seen them. Ian -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/6e9619d0-d232-4d2b-85b9-1ef5e3bf2634%40www.fastmail.com.
