Skip to content
Snippets Groups Projects
Commit e515d80d authored by Brad Fitzpatrick's avatar Brad Fitzpatrick
Browse files

bytes, strings: add TrimPrefix and TrimSuffix

Everybody either gets confused and thinks this is
TrimLeft/TrimRight or does this by hand which gets
repetitive looking.

R=rsc, kevlar
CC=golang-dev
https://golang.org/cl/7239044
parent fe14ee52
No related branches found
No related tags found
No related merge requests found
Showing
with 105 additions and 50 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment