dl: add go1.22rc1 Change-Id: I3c832a672e6a18e069a4a70070082022d04219a3 Reviewed-on: https://go-review.googlesource.com/c/dl/+/551535 Reviewed-by: Carlos Amedee <carlos@golang.org> Auto-Submit: Gopher Robot <gobot@golang.org> Auto-Submit: Than McIntosh <thanm@google.com> Reviewed-by: Than McIntosh <thanm@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/go1.22rc1/main.go b/go1.22rc1/main.go new file mode 100644 index 0000000..a2b728f --- /dev/null +++ b/go1.22rc1/main.go
@@ -0,0 +1,24 @@ +// Copyright 2023 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// The go1.22rc1 command runs the go command from Go 1.22rc1. +// +// To install, run: +// +// $ go install golang.org/dl/go1.22rc1@latest +// $ go1.22rc1 download +// +// And then use the go1.22rc1 command as if it were your normal go +// command. +// +// See the release notes at https://tip.golang.org/doc/go1.22. +// +// File bugs at https://go.dev/issue/new. +package main + +import "golang.org/dl/internal/version" + +func main() { + version.Run("go1.22rc1") +}