On Sun, Aug 22, 2021 at 12:27 PM Lennart Espe <lennart.e...@gmail.com> wrote: > > You can run Go 1.17 and use a special compile-time flag. Just use `go build > -gcflags=-G=3` and you're good to go. > > gotip should have generics enabled by default as well.
Actually please do not try to use the -G=3 support in the Go 1.17 release. That has many known problems and nobody is working on them. In particular please do not report bugs against the generics support in 1.17. Please instead try tip. That also has known problems but people are working on them and high quality bug reports are useful. Thanks. Ian > On Sunday, 22 August 2021 at 19:49:48 UTC+2 Serge Hulne wrote: >> >> Is there a preview Golang version I can download to try out generics ? >> >> I have written a library, which I believe would benefit from generics. > > -- > 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/7f884806-8408-444d-9337-6fe98beb60f0n%40googlegroups.com. -- 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/CAOyqgcXhtR9un54kQP9Y4rhworaW5t%2BZhs5LJ6SRpQKEussqsQ%40mail.gmail.com.