aboutsummaryrefslogtreecommitdiff
path: root/lib/bytes/parser_test.go
AgeCommit message (Collapse)Author
2026-01-15all: convert license and copyright to use SPDX identifiersShulhan
With help of spdxconv tool [1], we able to bulk update all files license and copyright format to comply with SPDX formats. [1] https://kilabit.info/project/spdxconv/
2024-03-25lib/bytes: add test for Parser Read and ReadNoSpaceShulhan
The test initialize Parser with seven delimiters, '\t', '=', '\n', ' ', '"', '(', and ')' and then Read token from multi lines contents.
2023-04-13lib/bytes: move unit Test for Read and SkipLine to ExampleShulhan
Using an example not only test the code but also provide example snippet when opened in the godoc.
2023-04-05lib/bytes: implement tokenize ParserShulhan
The Parser type parse stream of byte using one or more delimiters as separator between token.