samber
35e49f2c96
bump v1.43.0
v1.43.0
2024-06-28 20:01:47 +00:00
Samuel Berthe
263c266328
Adding lo.WaitFor ( #269 )
...
* feat(concurrency): adding lo.WaitFor
2024-06-28 22:00:52 +02:00
Samuel Berthe
33853f5d82
feat: adding HasKey ( #477 )
...
* feat: adding HasKey
2024-06-28 21:53:35 +02:00
Milo
7cce15b3d5
perf: Optimize the performance of union method, avoid repeated expansion ( #397 )
...
Co-authored-by: 逍遥 <caowenbo@shizhuang-inc.com >
2024-06-28 19:24:57 +02:00
Samuel Berthe
07e3675115
fix: Dockerfile to reduce vulnerabilities ( #476 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133
- https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133
- https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133
- https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133
- https://snyk.io/vuln/SNYK-DEBIAN11-NGHTTP2-5953384
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-06-28 18:26:20 +02:00
Samuel Berthe
61209816d1
feat: speed up loops by reducing allocations ( #475 )
2024-06-28 01:35:57 +02:00
guanming
a966a64cc6
Refactor Contains function to improve performance by using index iteration over collection ( #428 )
...
Co-authored-by: 关明 <guanming@ziipin.com >
2024-06-28 01:04:51 +02:00
Taehyung Lee
0f865a30f8
fix README.md. same meaning but different expression in comment of Unpack2 ( #406 )
2024-06-28 01:00:38 +02:00
Samuel Berthe
9f52970974
fix readme
2024-06-28 00:47:55 +02:00
Samuel Berthe
5aa64ef280
feat: adding LastOrEmpty and LastOr ( #474 )
2024-06-28 00:46:42 +02:00
Alireza Kiani
a94098f9b0
Add First and FirstOrZeroValue functions ( #451 )
...
* feat: add first and firstOrZeroValue functions
* doc: update readme for First and FirstOrZeroValue functions
* feat: follow convention for return items and reuse base First function and add FirstOr
* doc: update documentation for First methods
2024-06-28 00:39:16 +02:00
Gustavo Okuyama
c4d8094a42
feat(type_manipulation): add Nil ( #383 )
...
Co-authored-by: Gustavo Okuyama <gustavo.okuyama@ifood.com.br >
2024-06-27 23:38:37 +02:00
Samuel Berthe
0efce40cf0
lint
2024-06-27 21:05:31 +02:00
Samuel Berthe
ce9dfb2dad
Update lint.yml
2024-06-27 20:40:11 +02:00
Samuel Berthe
80bb7cefc6
feat: adding RejectMap ( #473 )
2024-06-27 16:17:40 +02:00
Samuel Berthe
91b5d9480e
feat: adding FilterReject ( #472 )
2024-06-27 16:12:34 +02:00
Samuel Berthe
20468b731a
feat: adding duration ( #471 )
2024-06-27 16:11:07 +02:00
Samuel Berthe
c23c040774
feat: adding Earliest and Latest ( #468 )
2024-06-27 15:42:18 +02:00
Samuel Berthe
9999d6b13d
feat: adding CoalesceOrEmpty ( #469 )
2024-06-27 15:42:12 +02:00
Samuel Berthe
e5e4f028e4
feat: adding Elipse ( #470 )
2024-06-27 15:42:03 +02:00
Samuel Berthe
3da41985ce
improve doc
2024-06-27 15:18:30 +02:00
Samuel Berthe
92db86fea1
more tests
2024-06-27 15:13:04 +02:00
apriil15
7bbea5482e
fix: should use type int64 for strconv.FormatInt ( #435 )
2024-06-27 14:06:04 +02:00
Samuel Berthe
96c7f9c1df
Update README.md
2024-06-27 13:56:10 +02:00
invzhi
b23221e613
doc: correct IsNil link for pkg.go.dev ( #418 )
2024-06-27 13:48:18 +02:00
Usman Ahmed
97074eeae7
Adding Mean and MeanBy ( #414 )
...
* feat: create Mean for ints and floats
* feat: create MeanBy for ints and floats
* chore: add example tests for mean Mean and MeanBy
2024-06-27 13:45:28 +02:00
d-enk
05a9bc93bd
style: no extra any type parameter ( #429 )
2024-06-27 13:43:43 +02:00
jiro
e9f46c2d73
chore: test on multi go versions ( #445 )
2024-06-27 13:19:34 +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
Samuel Berthe
a66bf34300
proposal: adding zipby + unzipby ( #449 )
...
* feat: adding zipby + unzipby
* Update README.md
2024-06-27 12:52:42 +02:00
Ian Mikhailov
8c0dc3cd91
[master] ToSlicePtr: improve speed ( #465 )
...
Co-authored-by: Yan Mikhaylov Andreevich <myan@ozon.ru >
2024-06-27 12:42:21 +02:00
Eric Leblanc
9f99f74053
Use map indexing to speed up PickByKeys and OmitByKeys ( #447 )
2024-06-26 12:31:24 +02:00
Paweł Słomka
71d834120d
docs: update description for FindOrElse ( #370 )
...
* docs: update description for FindOrElse
* Update README.md
---------
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr >
2023-12-20 00:50:08 +01:00
Ikko Eltociear Ashimine
46aca3d32c
Fix typo in README.md ( #369 )
...
intializations -> initializations
2023-12-20 00:48:27 +01:00
guangwu
334eafc506
fix: instantiate typo ( #374 )
2023-12-20 00:47:58 +01:00
chrom
ddac010f67
doc: fix interleave example ( #386 )
2023-12-20 00:47:17 +01:00
Samuel Berthe
d1c7f3ae19
Update slice.go
2023-12-20 00:47:09 +01:00
Viktor Szépe
d8598ea01e
Fix typos ( #384 )
2023-12-20 00:43:37 +01:00
Samuel Berthe
21395c58ff
style: linting IsNil
2023-12-02 15:14:23 +01:00
Samuel Berthe
ad7eae34cc
chore: remove nightly Go binary from makefile
2023-12-02 15:12:00 +01:00
Samuel Berthe
9f15195cb6
doc: updating changelog for 1.39.0 release
2023-12-02 15:12:00 +01:00
Samuel Berthe
a241dc292d
doc: adding logo for social preview
2023-12-02 15:12:00 +01:00
Samuel Berthe
7c120d5c49
chore: adding goleak
2023-12-02 15:12:00 +01:00
Samuel Berthe
3283fe13ea
doc: adding isnil
2023-12-02 14:53:23 +01:00
Eduardo R. Golding
2bbb3ea5f7
Add IsNil function for checking nil values in Go ( #399 )
2023-12-02 14:48:43 +01:00
Samuel Berthe
8f90a520e8
Update lint.yml
2023-10-15 18:40:11 +02:00
Samuel Berthe
2a744340d5
Update README.md
2023-04-04 23:44:13 +02:00
Samuel Berthe
6e4cd89040
Create .github/FUNDING.yml
2023-03-21 10:04:43 +01:00
Samuel Berthe
01fc0fdb4c
bump v1.38.1
2023-03-21 04:40:24 +01:00
Samuel Berthe
4a453a4131
fix: Async and AsyncX now returns read-only channels
2023-03-20 18:40:19 +01:00