dudaodong
3438f3b18a
refactor: rewrite all unit test functions with assert
2022-01-09 13:07:49 +08:00
dudaodong
73f4ae7b35
refactor: add internal/assert.go and rewrite all unit funcs string_test.go with assert
2022-01-08 21:58:35 +08:00
dudaodong
97e0789ea4
feat: add Wrap and Unwrap func
2022-01-03 20:11:15 +08:00
dudaodong
c625a88067
refactor: rename package 'utils' to 'internal'
2021-12-31 11:36:11 +08:00
donutloop
ab012f2545
LowerFirst: use slicing and utf8 func tools ( #5 )
...
Replace looping with slicing and utf8 func tools operations.
2021-12-28 19:25:44 +08:00
donutloop
3919160e38
Optimized: Capitalize ( #4 )
...
* Use unicode.ToUpper func to convert first letter in string to upper case
letter.
* Preallocate memory with correct length and cap because the final
string is not changing.
2021-12-28 10:04:15 +08:00
dudaodong
3254591ab9
publish lancet
2021-11-28 21:28:23 +08:00