[go-nuts] Re: Is it possible to embed generic structs with go2go?

2021-02-09 Thread Kristian Aadalen
Aha. Thanks a lot! tirsdag 9. februar 2021 kl. 20:40:58 UTC+1 skrev Carla Pfaff: > It seems to be this issue: https://github.com/golang/go/issues/40814 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop rece

[go-nuts] Is it possible to embed generic structs with go2go?

2021-02-09 Thread Kristian Aadalen
First of all, I hope this is an appropriate place to ask this question, please let me know if it's not. I wonder if it is possible to use composition and embed a generic struct (with go2go of course)? I wan’t to do something like this, where I try to embed a generic struct to another generic s