aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debuglog.go
diff options
context:
space:
mode:
authorapocelipes <seve3r@outlook.com>2024-07-29 10:23:14 +0000
committerGopher Robot <gobot@golang.org>2024-07-29 21:29:17 +0000
commitac51262592a20e16afec77163eff98be1d336f5c (patch)
tree2e05854a20027193c8a6697313f33cdca38fe966 /src/runtime/debuglog.go
parentfad6390f38eb96e4e053452ae21a88260cbcf202 (diff)
downloadgo-ac51262592a20e16afec77163eff98be1d336f5c.tar.xz
cmd,log,net,runtime: simplify string prefix and suffix processing
Use the TrimPrefix, TrimSuffix and CutPrefix to simplify the code. Change-Id: I3e2b271ec0d3f9ce664b830e2b0c21ab47337ed0 GitHub-Last-Rev: 4bd1577d2496173800d609da75b08f6de177aba9 GitHub-Pull-Request: golang/go#68629 Reviewed-on: https://go-review.googlesource.com/c/go/+/601675 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime/debuglog.go')
0 files changed, 0 insertions, 0 deletions