dl: add go1.19
Change-Id: Ifc181d20dd5e8fd4c916a92141b840c39ff43e8c
Reviewed-on: https://go-review.googlesource.com/c/dl/+/420557
Auto-Submit: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
diff --git a/go1.19/main.go b/go1.19/main.go
new file mode 100644
index 0000000..e355784
--- /dev/null
+++ b/go1.19/main.go
@@ -0,0 +1,24 @@
+// Copyright 2022 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.19 command runs the go command from Go 1.19.
+//
+// To install, run:
+//
+// $ go install golang.org/dl/go1.19@latest
+// $ go1.19 download
+//
+// And then use the go1.19 command as if it were your normal go
+// command.
+//
+// See the release notes at https://go.dev/doc/go1.19.
+//
+// File bugs at https://go.dev/issue/new.
+package main
+
+import "golang.org/dl/internal/version"
+
+func main() {
+ version.Run("go1.19")
+}