Commit Graph
3 Commits
Author SHA1 Message Date
donutloopandGitHub 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
donutloopandGitHub 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