Go2 Playground and constraints package

80 views
Skip to first unread message

Johann Höchtl

unread,
Nov 16, 2021, 2:51:04 AM11/16/21
to golang-nuts
The example from

does not work with the Go2 Playground
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!

Axel Wagner

unread,
Nov 16, 2021, 2:57:56 AM11/16/21
to Johann Höchtl, golang-nuts
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.

--
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...@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.

Johann Höchtl

unread,
Nov 16, 2021, 3:14:47 AM11/16/21
to Axel Wagner, golang-nuts
Thanks for pointing me to the tip-playground. And I like all being discussed in https://github.com/golang/go/issues/48424
Reply all
Reply to author
Forward
0 new messages