aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debuglog.go
diff options
context:
space:
mode:
authorzhi.wang <zhi.wang@kunlun-inc.com>2025-04-06 13:08:57 +0000
committerGopher Robot <gobot@golang.org>2025-04-07 13:36:46 -0700
commit8054d2da5bdbaf154b258d8d2fd24025a809b0de (patch)
treee8a4a49bfe036af6ce4c17c778e61b0adf43efad /src/runtime/debuglog.go
parentb2819d13dbe19343426e688da4ddfeb57c8589fc (diff)
downloadgo-8054d2da5bdbaf154b258d8d2fd24025a809b0de.tar.xz
strconv: use switch for '+'/'-' prefix handling
Follow the approach used in strconv's readFloat, decimal.set, and Atoi, where leading '+' and '-' are handled using a switch for clarity and consistency. Change-Id: I41eff34ce90b5ac43fcdbc0bb88910d6d5fb4d39 GitHub-Last-Rev: 0c9d2efb5a828515fa00afdba8c436aa31fb0e53 GitHub-Pull-Request: golang/go#73185 Reviewed-on: https://go-review.googlesource.com/c/go/+/663257 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/debuglog.go')
0 files changed, 0 insertions, 0 deletions