Commit Graph

20 Commits

Author SHA1 Message Date
VictorAssunc
640e00c286 chore: test coverage improvement (#240)
* chore: improves channel functions test coverage

* chore: improves errors functions test coverage

* chore: improves map functions test coverage

* chore: improves parallel slice functions test coverage

* chore: improves slice functions test coverage

* fix: uses atomic counter on parallel/slice_test

* Update channel_test.go

Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
2022-10-22 19:05:07 +02:00
Samuel Berthe
aca846b80d doc: improve doc for lo.MapEntries 2022-10-10 21:41:39 +02:00
Hugo
a28cc0b583 feat: Add MapEntries function (#216)
* feat: add MapEntries method

* fix: add out key type

* doc: add MapEntries doc

* test: change MapEntries test format

* fix: simplify MapEntries iteratee

* doc: fix MapEntries doc

Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
2022-10-10 21:33:49 +02:00
Samuel Berthe
31f3bc3a85 test: parallel tests everywhere (#228) 2022-10-02 21:38:26 +02:00
Samuel Berthe
bccfe8cda9 BREAKING: swap argument of MapToSlice iteratee 2022-07-29 11:49:01 +02:00
sleagon
f2175ff5c2 feat: add MapToSlice method (#157)
Change-Id: I97d3e58ddc36e65231e5e76dc9239aa52a4a7613
2022-07-24 22:04:55 +02:00
lu4p
305f565368 remove unnecessary explicit typeparams (#134) 2022-05-11 13:10:36 +02:00
Samuel Berthe
fa3e0d03d9 feat: adding PickBy+PickByValues+OmitBy+OmitByKeys+OmitByValues 2022-04-14 20:27:59 +02:00
Samuel Berthe
c97ec3bdf3 Merge pull request #62 from metalrex100/feature/add-values-filtered-helper
[Feature]: Added ValuesF helper
2022-04-14 20:18:04 +02:00
Anatoly Ibragimov
29a0704762 Changed PickByKeys helper logic to return same map type instead of slice 2022-04-14 11:29:06 +02:00
Anatoly Ibragimov
0ed7583ceb ValuesF helper renamed to PickByKeys 2022-04-13 21:44:04 +02:00
Samuel Berthe
cf11153875 feat: adding Clamp 2022-04-12 21:58:28 +02:00
Samuel Berthe
ea93273806 feat: adding MapKeys 2022-04-12 21:33:56 +02:00
Samuel Berthe
4a2c77a829 feat: adding Invert 2022-04-12 21:26:25 +02:00
Anatoly Ibragimov
279689f73f Added ValuesF helper 2022-03-22 17:02:11 +03:00
Yusuke Yajima
dc04f2d1fd Add MapValues 2022-03-08 14:46:51 +09:00
francisco souza
770dff269b Fix flaky test 2022-03-05 18:26:37 -05:00
Samuel Berthe
98ecdea940 adding Sample+Samples 2022-03-05 23:13:18 +01:00
retornam
f51ff12ef3 use EqualValues for map tests
maps are unorderd thus using EqualValues which
asserts that two objects are equal or
convertable to the same types and equal, is a
better option than Equal.
2022-03-04 15:11:02 -08:00
Samuel Berthe
74b7c77702 Initial commit 2022-03-02 13:52:01 +01:00