Samuel Berthe
|
d5876775c8
|
feat: faster ChunkEntries
|
2025-01-26 19:51:43 +01:00 |
|
Samuel Berthe
|
4a03b54ea4
|
rename ChunkMap to ChunkEntries
|
2025-01-26 19:38:33 +01:00 |
|
Samuel Berthe
|
cd0bc21b88
|
preallocate stuff and more tests
|
2024-08-11 18:47:56 +02:00 |
|
Samuel Berthe
|
d9d3e3fb05
|
feat: preallocate output for lo.Keys and lo.Values
|
2024-08-11 18:28:42 +02:00 |
|
shivam-bhalla
|
d8e5707487
|
Keys+Values: accept multiple maps (vaargs) - Adding UniqKeys+UniqValues (#503)
* added Keys: accept multiple maps (vaargs)
* added test:review comment fix
* added sort before asserting :review comment fix
* added sort before asserting :review comment fix
* output unique keys
* added map functions"
* added map_test.go and README.md
* added anchor in README.md
* added breakline in README.md
* fix README.md
* fix README.md and added test
* fix comments
* fix comments
* fix comments
* fix comments
* fix comments
* Update README.md
* small typo
* Update README.md
* Update README.md
* Update map.go
* Update map_test.go
---------
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
|
2024-07-29 05:37:41 +02:00 |
|
Patryk Małek
|
57c2d6d4ea
|
perf: preallocate in Assign (#484)
|
2024-06-30 14:40:46 +02:00 |
|
Samuel Berthe
|
3ba93a16cc
|
feat: preserve type alias of slices and maps (see #365)
|
2024-06-30 00:04:08 +02:00 |
|
Samuel Berthe
|
33853f5d82
|
feat: adding HasKey (#477)
* feat: adding HasKey
|
2024-06-28 21:53:35 +02:00 |
|
Samuel Berthe
|
61209816d1
|
feat: speed up loops by reducing allocations (#475)
|
2024-06-28 01:35:57 +02:00 |
|
Eric Leblanc
|
9f99f74053
|
Use map indexing to speed up PickByKeys and OmitByKeys (#447)
|
2024-06-26 12:31:24 +02:00 |
|
Samuel Berthe
|
f3826f79fd
|
lint
|
2023-03-20 15:06:23 +01:00 |
|
Alexandre Lamarre
|
fd5561abb3
|
feat : adding ValueOr (#295)
|
2023-02-20 02:47:59 +01:00 |
|
Adam Szaraniec
|
17e921399f
|
minor changes (#301)
|
2023-01-30 17:10:13 +01:00 |
|
Samuel Berthe
|
7887963db8
|
feat: name each callback/iteratee/predicate arguments in order to improve autocompletion
closes #242
|
2022-10-13 22:25:33 +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
|
cc3aa2287b
|
doc(examples): adding go playground examples (string, map, slice, condition, math)
|
2022-10-03 22:17:15 +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 |
|
Samuel Berthe
|
d066df5aec
|
feat: FromPairs as alias to FromEntries and ToPairs as alias to ToEntries
|
2022-07-03 23:17:48 +02:00 |
|
Gabriel Schmitt
|
617016713f
|
fix: typo on comment of OmitBy function (#166)
|
2022-07-03 19:14:46 +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
|
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 |
|
hyunchul jung
|
21e6fd98f7
|
simplify code
|
2022-03-21 14:45:18 +09:00 |
|
Thet Naing Tun
|
04a17f499e
|
removed duplicate KeyBy
|
2022-03-12 20:20:11 +06:30 |
|
Thet Naing Tun
|
92b5697542
|
add KeyBy function
|
2022-03-11 20:53:15 +06:30 |
|
Yusuke Yajima
|
dc04f2d1fd
|
Add MapValues
|
2022-03-08 14:46:51 +09:00 |
|
Samuel Berthe
|
a482eff46c
|
feat: adding tuple types (from 2 to 9) and zip+unzip functions
|
2022-03-05 20:13:49 +01:00 |
|
Samuel Berthe
|
74b7c77702
|
Initial commit
|
2022-03-02 13:52:01 +01:00 |
|