On Saturday, June 20, 2020 at 1:10:29 PM UTC-4, Bebop Leaf wrote: > > > > > And > > * should "embeddable" be one kind of constraints? > > Would you elaborate what do you mean by "embeddable"? > > As for the other 3, I agree it would be good to have them as constraints. >
For example: type Foo(type A interface{}, B embeddable) struct { B // ... others } -- 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/ab620354-41fd-4152-863d-ed4f9301efeao%40googlegroups.com.