1
0
mirror of https://github.com/golang/go synced 2024-11-20 06:24:40 -07:00
go/src/cmd/api
Brad Fitzpatrick e515d80d5d 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
2013-02-01 08:41:25 -08:00
..
testdata/src/pkg cmd/api: normalize byte to uint8 and rune to int32 2013-01-28 16:45:45 -08:00
clone.go cmd/api: speed up API check by 2x, caching parser.ParseFile calls 2012-11-19 13:50:20 -08:00
goapi_test.go cmd/api: handle contexts re-converging 2012-10-30 13:12:59 +01:00
goapi.go bytes, strings: add TrimPrefix and TrimSuffix 2013-02-01 08:41:25 -08:00