]> Cypherpunks repositories - gostls13.git/commit
bytes, strings: s/after/before/ in CutSuffix
authorMichal Bohuslávek <mbohuslavek@gmail.com>
Thu, 18 Aug 2022 09:02:38 +0000 (11:02 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 19 Aug 2022 20:56:43 +0000 (20:56 +0000)
commit5f0170f9a529c7113ac12f1270e00e5bdc444803
tree43b51aecdca562dbd1257b2626212a3fa15770ce
parent2e06019dcd82c1c525c805af687063875d4b223b
bytes, strings: s/after/before/ in CutSuffix

This follows on CL 407176 which added this function (in both
packages). This CL makes it consistent with the Cut function,
which uses “before” and “after” in return variable names.

Change-Id: Id4345d2fe0f50bf301a880803e87bf356986b518
Reviewed-on: https://go-review.googlesource.com/c/go/+/424922
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/bytes/bytes.go
src/strings/strings.go