pigwantacat
|
a6a53e1fb9
|
refactor:refactor RandomString function (#524)
* refactor:refactor RandomString function
* feat:Upgrade math/rand to math/rand/v2
* Update string.go
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
* feat: improve comments for RandomString function
* Update string.go
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
* feat:Upgrade math/rand/v2 to github.com/samber/lo/internal/rand
* Update string.go
* Update ordered_go118.go
---------
Co-authored-by: zhuhebin <zhuhebin@fengtaisec.com>
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
|
2024-09-20 00:16:24 +02:00 |
|
Nathan Baulch
|
db0f4d2171
|
Tidy up (#519)
|
2024-08-22 01:17:02 +02:00 |
|
Samuel Berthe
|
741cdfdb03
|
feat(ellipsis): trim after truncating
|
2024-08-19 00:14:36 +02:00 |
|
Samuel Berthe
|
40f630f33a
|
feat(ellipsis): trim before truncating
|
2024-08-18 16:36:51 +02:00 |
|
Samuel Berthe
|
de8e023551
|
fix: rename Elipse to Ellipsis
|
2024-08-18 16:33:20 +02:00 |
|
mr
|
1ca9c7b4e5
|
Update string.go (#496)
* Update string.go
more reasonable
* test
|
2024-07-17 19:08:46 +02:00 |
|
Samuel Berthe
|
3b29b7d918
|
feat: upgrade to math/rand/v2 (#483)
* feat: upgrade to math/rand/v2
* lint: silent warning
|
2024-06-30 03:54:55 +02:00 |
|
Samuel Berthe
|
61209816d1
|
feat: speed up loops by reducing allocations (#475)
|
2024-06-28 01:35:57 +02:00 |
|
Samuel Berthe
|
0efce40cf0
|
lint
|
2024-06-27 21:05:31 +02:00 |
|
Samuel Berthe
|
e5e4f028e4
|
feat: adding Elipse (#470)
|
2024-06-27 15:42:03 +02:00 |
|
eiixy
|
266436bb40
|
feat: add string conversion functions (#466)
* feat: add string conversion functions
* fix: fix `Capitalize`, update tests
* fix: fix `Capitalize`, update tests
* update README.md
* update tests
* update `Capitalize`
* style: unify coding style
|
2024-06-27 12:56:08 +02:00 |
|
Liu Shuang
|
de3bccf5d0
|
fix: substring support utf8 character (#327)
|
2023-03-20 15:14:00 +01:00 |
|
Corentin Clabaut
|
a3c90f1ac4
|
Add RandomString (#266)
* Add RandomString
* PR update
|
2022-11-15 23:12:57 +01:00 |
|
Samuel Berthe
|
cc3aa2287b
|
doc(examples): adding go playground examples (string, map, slice, condition, math)
|
2022-10-03 22:17:15 +02:00 |
|
Corentin Clabaut
|
6126b6497c
|
Implement ChunkString (#188)
Implement ChunkString
|
2022-07-29 11:38:33 +02:00 |
|
Samuel Berthe
|
94d54a8f47
|
feat: adding runelength
|
2022-05-01 00:22:36 +02:00 |
|