Serhat Şevki Dinçer
2b5b6b24ee
🐛 utils: fix EqualFold and docs ( #1833 )
...
* 🔍 utils: add/improve tests for ToLower/ToUpper/EqualFold
* 🐛 utils: fix EqualFold and docs
2022-03-23 13:55:13 +01:00
Fufu
7b1a7a9513
fix: utils.TrimBytes should trim all content ( #1779 )
...
* perf: if all string content should be trimmed, end the loop early
* test: complete test cases for all Trim functions
* fix: utils.TrimBytes should trim all content
2022-02-15 07:57:51 +01:00
Trim21
391ae594d8
fix: `utils.Trim` should trim all string content ( #1775 )
...
* fix: `utils.Trim` should trim all string content
* add empty string input
* better fix
2022-02-14 08:01:15 +01:00
Gusted
7b7dcf29f7
♻️ Tidy up the codebase ( #1613 )
...
* run gofmt
* add t.Helper()
* Simplify assigns
* Simplify make operation
* Remove unused field in struct
* Fix typo
* Run gofumpt ./
* Consistent spacing
* len(...) can never be negative
* Use ReplaceAll
* Simplify operation
* Remove deadcode
* Fix typo
* Tidy up `} else { if ...`
* Fix AssertEqual
* Remove t.Helper() to fix go1.14.15
2021-11-05 08:00:03 +01:00
Fenny
0cc60e3e39
✏ update utils
...
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-11-17 08:24:28 +01:00
Fenny
e44da45bff
🩹 fix session test
...
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-11-17 08:15:22 +01:00
Fenny
cdba739a40
📦 add EqualFold & EqualFoldBytes
...
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-11-17 08:04:42 +01:00
Fenny
a63f4f067b
🛠 export utils
...
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:16:45 +02:00