Commit Graph

6 Commits (10d6f69a89390397aa5dd23f4f7352ea05638f9e)

Author SHA1 Message Date
Trim21 b161f805c2
v3(enhancement): remove `utils.Trim*` (#2030)
stdlib functions have same performance in go1.19
2022-08-20 13:52:09 +08:00
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
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 a63f4f067b 🛠 export utils
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:16:45 +02:00