aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/example_test.go
AgeCommit message (Expand)Author
2025-05-12bytes, strings: rename parameters in ExampleCut{Pre,Suf}fixTobias Klauser
2025-02-14bytes: add examples for Lines, SplitSeq, SplitAfterSeq, FieldsSeq and FieldsF...cuishuang
2024-08-07bytes,strings: use a more universal Cyrillic wordOleksandr Redko
2024-05-23all: change from sort functions to slices functions where feasibleIan Lance Taylor
2024-03-04bytes: add a colon after Output to make the Example in the document display c...cui fliter
2023-10-09bytes,strings: add example for ContainsFunccui fliter
2023-08-22all: remove redundant string conversions when formatting []byte with %scui fliter
2023-03-13bytes: add Buffer.Available and Buffer.AvailableBufferJoe Tsai
2023-01-20bytes,strings: add some examplesfangguizhen
2021-11-05bytes: add example with (*Buffer).Cap, (*Buffer).Read, (*Buffer).ReadBytejiahua wang
2021-10-06bytes, strings: add CutRuss Cox
2021-09-27bytes: add example for (*Buffer).Nextjiahua wang
2020-11-11bytes: add example for (*Buffer).BytesFederico Guerinoni
2019-03-01bytes: add examples for ToTitleSpecial, ToUpperSpecial and ToLowerSpecialKetan Parmar
2018-12-13bytes: add ReplaceAll exampledupoxy
2018-08-30bytes: add example for Buffer.LenErin Masatsugu
2017-11-15bytes, strings: restore O(1) behavior of IndexAny(s, "") and LastIndexAny(s, "")Russ Cox
2017-11-15bytes: make ExampleTrimLeft and ExampleTrimRight matchRuss Cox
2017-11-15bytes: change ExampleReader_Len to use a non-ASCII stringRuss Cox
2017-10-16bytes: add examples of Equal and IndexByteJavier Segura
2017-09-17bytes: add example for Len function of ReaderAndrzej Żeżel
2017-08-25bytes: Add missing examples to functionsBorja Clemente
2017-08-22bytes: add examples for TrimLeft and TrimRightMichael Brandenburg
2017-07-16bytes: add example for (*Buffer).GrowBrian Downs
2016-08-16bytes: add examplesCarlos C
2014-09-08build: move package sources from src/pkg to srcRuss Cox