diff options
| author | Alex Bozhenko <alexbozhenko@gmail.com> | 2024-02-07 15:19:06 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-02-22 05:31:47 +0000 |
| commit | 7fd62ba821b1044e8e4077df052b0a1232672d57 (patch) | |
| tree | 980eb3628c8c89fd845e191b0af1f34beae4dad2 /src/runtime/debug/stack.go | |
| parent | 5d4e8f5162c97d9a51abbe55d0042fea9c6be3a0 (diff) | |
| download | go-7fd62ba821b1044e8e4077df052b0a1232672d57.tar.xz | |
cmd/fix: support go versions with patch release
Support go version with patch release(e.g. 1.21.0)
and release candidates(e.g. 1.21rc1)
when parsing the go version in the fix command
by using new "go/version" package.
Fixes #62584
Change-Id: I0ec16137c7a396c68039d374c770c4021fb54b4e
GitHub-Last-Rev: 76bced5c48334c0937289bce8bcf50f82e3f0b98
GitHub-Pull-Request: golang/go#62586
Reviewed-on: https://go-review.googlesource.com/c/go/+/527342
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Alex Bozhenko <alexbozhenko@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime/debug/stack.go')
0 files changed, 0 insertions, 0 deletions
