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
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
Paul Cento
15987a2677
♻️ Refactor: remove use of deprecated functions ( #1474 )
2021-08-06 07:56:36 +02:00
Fenny
0cc60e3e39
✏ update utils
...
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-11-17 08:24:28 +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
b4f978515d
📝 update utils
2020-09-17 02:21:36 +02:00
Fenny
a63f4f067b
🛠 export utils
...
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:16:45 +02:00