aboutsummaryrefslogtreecommitdiff
path: root/src/strings
AgeCommit message (Expand)Author
2019-05-01strings, bytes: add ToValidUTF8Martin Möhrmann
2019-04-14strings: remove "a copy of the string" from ToUpper/ToLower commentsМаксадбек Ахмедов
2019-04-09strings: add TestIndexByteTobias Klauser
2019-04-09strings: use Go style character range comparison in ToUpper/ToLowerTobias Klauser
2019-04-08strings: unindent FieldsTobias Klauser
2019-04-03strings: document that NewReplacer can panicBrad Fitzpatrick
2019-03-29bytes, strings: add tests for TrimLeftFunc and TrimRightFuncBen Hoyt
2019-03-12bytes, strings: speed up TrimSpace 4-5x for common ASCII casesBen Hoyt
2019-03-10strings: remove unnecessary strings.sTobias Klauser
2018-12-13strings: add ReplaceAll exampledupoxy
2018-12-13strings: revert accidental example change from CL 153840Brad Fitzpatrick
2018-11-08strings,bytes: use inlineable function trampolines instead of linknameKeith Randall
2018-11-08strings: remove empty line沈涛
2018-11-04strings: lower running time of TestCompareStringsKeith Randall
2018-10-30strings: declare IndexByte as noescapeKeith Randall
2018-10-29bytes, strings: fix Reader.UnreadRune returning without error on a zero ReaderTim Cooper
2018-10-13strings: Replace s[:] to s where s is a slice.Ivan Sharavuev
2018-10-03strings: correctly handle invalid utf8 sequences in MapMartin Möhrmann
2018-10-03io: export StringWriterDaniel Martí
2018-09-26all: use strings.ReplaceAll and bytes.ReplaceAll where applicableBrad Fitzpatrick
2018-09-26bytes, strings: add ReplaceAllBrad Fitzpatrick
2018-09-26strings: use Builder in ToUpper and ToLowerTom Thorogood
2018-09-13strings, bytes: optimize function Indexerifan01
2018-09-02strings: simplify Join using BuilderPhil Pearl
2018-08-22strings: use Builder in Repeat to avoid an allocationgo101
2018-08-22strings, bytes: avoid unnecessary function literalsJohan Brandhorst
2018-08-22strings: use Builder in MapMichael Fraenkel
2018-08-21strings: revise ToUpperSpecial and ToLowerSpecial wordingKevin Zita
2018-08-21strings: select Replacer algorithm and build machine lazilyBrad Fitzpatrick
2018-08-20strings: add Builder.CapDaniel Martí
2018-07-02strings: do much less redundant testing in TestCompareStringsIan Lance Taylor
2018-06-29bytes, strings: fix comparison of long byte slices on s390xbill_ofarrell
2018-06-29strings: add note for new Go developers to TrimLeft and TrimRightDaniel Martí
2018-06-01all: update comment URLs from HTTP to HTTPS, where possibleTim Cooper
2018-05-04strings: fix encoding of \u0080 in mapMartin Möhrmann
2018-05-01bytes, strings: improve EqualFold fast version for ASCIIEric Pauley
2018-04-26strings: clarify Replacer's replacement orderAlberto Donizetti
2018-04-03strings: fix flaky TestBuilderGrow testBrad Fitzpatrick
2018-04-02strings: speed-up replace for byteStringReplacer caseIlya Tocar
2018-03-04internal/bytealg: move short string Index implementations into bytealgKeith Randall
2018-03-04internal/bytealg: move Count to bytealgKeith Randall
2018-03-02internal/bytealg: move IndexByte asssembly to the new bytealg packageKeith Randall
2018-02-26strings: add Builder benchmarks comparing bytes.Buffer and strings.BuilderBrad Fitzpatrick
2018-01-09strings: prevent copyCheck from forcing Builder to escape and allocateBrad Fitzpatrick
2017-12-11strings: fix two Builder bugs allowing mutation of strings, remove ReadFromBrad Fitzpatrick
2017-12-08strings: delete unused constantCaleb Spare
2017-11-15bytes, strings: restore O(1) behavior of IndexAny(s, "") and LastIndexAny(s, "")Russ Cox
2017-11-15bytes,strings: in generic Index, use mix of IndexByte and Rabin-KarpKeith Randall
2017-11-08strings: optimize ToLowerAgniva De Sarker
2017-11-07strings: optimize ToUpperAgniva De Sarker