aboutsummaryrefslogtreecommitdiff
path: root/internal/play/play.go
AgeCommit message (Collapse)Author
9 hours[DO-NOT-MERGE] internal/play: disable goroutine for watchVersionShulhan
2022-03-18internal/play: add goprevplay, load versions from back endsRuss Cox
This will let us have "Go 1.17" in the dropdown on go.dev/play. And when the next release happens and goprevplay and play are updated, the versions will update automatically in the UI. Change-Id: Id76f89767c3a91a2c9e27c9fbdad5d6fd9674ab2 Reviewed-on: https://go-review.googlesource.com/c/website/+/393840 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
2022-02-25internal/play: support plain text responseJamal Carvalho
Fixes golang/go#51181 Change-Id: I82f10320e86555a161cbfb5c5b79dfc331017003 Reviewed-on: https://go-review.googlesource.com/c/website/+/388016 Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Trust: Jamal Carvalho <jamalcarvalho@google.com>
2021-11-30cmd/golangorg: add support for multiple play backendsRuss Cox
This lets people choose between the release version of Go (play.golang.org) and the dev branch version (gotipplay.golang.org). After CL 365854 goes live, it will offer Go 1.17, Go 1.16, and Go dev branch. Change-Id: I7480a0cb4f1b09636f5728c41af507aac5a72026 Reviewed-on: https://go-review.googlesource.com/c/website/+/366056 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>