No and no. On Wed, Sep 28, 2022 at 9:05 PM TheDiveO <harald.albre...@gmx.net> wrote:
> Is there currently a way in Go generics to express a type constraint to > allow only > - any function > - any interface that isn't a type constraint, such as ~int > ? > > -- > 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/16b6413d-fd37-4f37-8c42-7665764a465bn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/16b6413d-fd37-4f37-8c42-7665764a465bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAEkBMfF-XtwwS-aRY4wUH3gG7y%2BFCE4YEThiHaNc0qmihFFhrQ%40mail.gmail.com.