]> Cypherpunks.ru repositories - gostls13.git/commit
path: use bytealg.LastIndexByteString
authorTobias Klauser <tklauser@distanz.ch>
Tue, 12 Sep 2023 21:09:48 +0000 (23:09 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 13 Sep 2023 18:34:40 +0000 (18:34 +0000)
commit2c74018d7b2566513bf05b984a720769f95a922d
tree0fea846799c37cb4bf4db05d248e4a64c8116dc0
parent3e1db32657844bccb85237fc6918d2f3ab9b6893
path: use bytealg.LastIndexByteString

While strings.LastIndex{,Byte} cannot be used in package path, the
respective internal/bytealg function can be used.

Change-Id: If0ecc36484308221f50875c8609913f6f2887fba
Reviewed-on: https://go-review.googlesource.com/c/go/+/527855
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/path/path.go