18 Commits

Author SHA1 Message Date
Nathan Baulch
f5aac81cc0 lint: enable gofumpt extra rules (#690)
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
2025-09-26 13:32:59 +02:00
Samuel Berthe
ec86b574ed feat: adding TrimXXX methods (#683) 2025-09-25 04:15:30 +02:00
Nathan Baulch
5196e100c3 fix: minor example issues (#676)
* lint: pin golangci-lint version

* fix: minor example issues

* Update lint.yml

---------

Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
2025-09-24 22:52:23 +02:00
Samuel Berthe
ce12685a40 fix(groupbymap): remove second iteratee and add test+example+doc 2025-01-28 20:25:04 +01:00
Samuel Berthe
124d3004de feat: adding FilterSliceToMap (#581) 2025-01-26 23:32:59 +01:00
Samuel Berthe
27d2554396 fix: renaming SliceToSet to Keyify 2025-01-25 23:26:53 +01:00
nicklausliu
4b7879b22d feat: add more duplicate test 2025-01-25 23:23:30 +01:00
nicklausliu
b4412ea1af feat: add SliceToSet 2025-01-25 23:23:30 +01:00
nicklaus-dev
c32746c703 feat: add UniqMap (#527) 2025-01-24 22:21:01 +01:00
Nathan Baulch
db0f4d2171 Tidy up (#519) 2024-08-22 01:17:02 +02:00
Sianao Luo
cbfd1c6286 add ForEachCondition implement (#485)
* add ForEachCondition implement

* add example and test code

* rename ForEachCondition() to ForEachWhile()

* update test and example code

* rename ExampleForForEachWhile() to ExampleForEachWhile()
2024-07-15 19:28:57 +02:00
Owen Gong
52e17faeec Added DropByIndex helper for slice (#398)
* added DropByIndex helper

---------

Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
2024-06-30 00:38:34 +02:00
Anandraj Elumalai
27d881052b fix: resolved code smells (#258)
Made the project to smell good

Co-authored-by: aelumalai <aelumalai@paypal.com>
2022-10-31 15:48:04 +01:00
Samuel Berthe
e3f7dab5ce doc: improve doc for lo.Interleave 2022-10-10 23:03:09 +02:00
Samuel Berthe
f44773e344 feat: adding CountValuesBy 2022-10-10 21:26:19 +02:00
Samuel Berthe
c190e196a1 fix tests 2022-10-04 20:43:25 +02:00
Samuel Berthe
cc3aa2287b doc(examples): adding go playground examples (string, map, slice, condition, math) 2022-10-03 22:17:15 +02:00
Samuel Berthe
4fecc9049c doc: adding examples (#230) 2022-10-03 19:19:15 +02:00