]> Cypherpunks repositories - gostls13.git/commit
internal/goroot: using strings.CutPrefix replace strings.HasPrefix and strings.TrimPrefix
authorcuiweixie <cuiweixie@gmail.com>
Tue, 27 Sep 2022 07:58:33 +0000 (15:58 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 27 Sep 2022 15:53:49 +0000 (15:53 +0000)
commit789e798f0436361bfe8ca492a933cfeb17d2780c
tree0935e0e12281908f8981ba1842718aa973d8dc3c
parentfac5338a6c788df948edafa055ed998c46ba545e
internal/goroot: using strings.CutPrefix replace strings.HasPrefix and strings.TrimPrefix

Change-Id: I63b2af955e2ada6d20e72c10797576d93bbc7e71
Reviewed-on: https://go-review.googlesource.com/c/go/+/435135
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/internal/goroot/gc.go