]> Cypherpunks repositories - gostls13.git/commit
all: replace fmt.Sprintf("%d") with strconv.Itoa
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 23 Mar 2023 08:14:39 +0000 (08:14 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 31 Mar 2023 18:41:24 +0000 (18:41 +0000)
commit092d43c329babb41f9bbad265bfe82bb48522b64
treea1eeb7c62a6ed5ab190e69ee0c4feb0be5818214
parente539461e34b1c5163220f9910b2c0360fb9f21e4
all: replace fmt.Sprintf("%d") with strconv.Itoa

This was found by running `git grep 'fmt.Sprintf("%d",' | grep -v test | grep -v vendor`

And this was automatically fixed with gotiti https://github.com/catenacyber/gotiti
and using unconvert https://github.com/mdempsky/unconvert
to check if there was (tool which fixed another useless cast)

Change-Id: I023926bc4aa8d51de45f712ac739a0a80145c28c
GitHub-Last-Rev: 1063e32e5b69b6f9bb17673887b8c4ebe5be8fe4
GitHub-Pull-Request: golang/go#59144
Reviewed-on: https://go-review.googlesource.com/c/go/+/477675
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/covdata/argsmerge.go
src/cmd/go/internal/modfetch/codehost/svn.go
src/cmd/go/internal/modfetch/codehost/vcs.go
src/go/token/position.go
src/internal/buildcfg/cfg.go
src/net/http/triv.go
src/runtime/coverage/emit.go