The go2go playground is basically obsolete, as it is based on the prototype
implementation, instead of gotip.
You can use https://gotipplay.golang.org/ which provides a playground based
on gotip. Though the example does not work there either, as
`constraints.Chan` has been removed after
https://github.com/golang/go/issues/48424.

On Tue, Nov 16, 2021 at 8:51 AM Johann Höchtl <johann.hoec...@gmail.com>
wrote:

> The example from
>
> https://github.com/mattn/go-generics-example/blob/main/constraints-chan/main.go
>
> does not work with the Go2 Playground
> https://go2goplay.golang.org/p/Is-IieENirk
> as the constraints package is not available. I didn't find any mention on
> that on the Internets, is this a known limitation of the Go2 playground?
>
> Thanks!
>
> --
> 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/12115415-4adc-4434-84f5-bf228ad7f5a7n%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/12115415-4adc-4434-84f5-bf228ad7f5a7n%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/CAEkBMfGkJB%2BWqD%2BCme-_jGodtHiAfi%2Beo2FztW8WC6qiEKWrbg%40mail.gmail.com.

Reply via email to