diff options
| author | Marcel Meyer <mm.marcelmeyer@gmail.com> | 2025-04-14 15:34:30 +0000 |
|---|---|---|
| committer | Robert Griesemer <gri@google.com> | 2025-04-16 12:26:29 -0700 |
| commit | 5715d735590cf545f03b34e58ade83b919e53fba (patch) | |
| tree | a400b36dabbedb30bc662433757df1bd2b807b80 /src/database/sql/sql.go | |
| parent | 2cb9e7f68f90ea9119fd4172fc61630279d79d67 (diff) | |
| download | go-5715d735590cf545f03b34e58ade83b919e53fba.tar.xz | |
all: use strings.ReplaceAll where applicable
```
find . \
-not -path './.git/*' \
-not -path './test/*' \
-not -path './src/cmd/vendor/*' \
-not -wholename './src/strings/example_test.go' \
-type f \
-exec \
sed -i -E 's/strings\.Replace\((.+), -1\)/strings\.ReplaceAll\(\1\)/g' {} \;
```
Change-Id: I59e2e91b3654c41a32f17dd91ec56f250198f0d6
GitHub-Last-Rev: 0868b1eccc945ca62a5ed0e56a4054994d4bd659
GitHub-Pull-Request: golang/go#73370
Reviewed-on: https://go-review.googlesource.com/c/go/+/665395
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
