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
Samuel Berthe
dfdbd972ed
bump v1.38.0
2023-03-20 18:26:55 +01:00
Samuel Berthe
c1cc5a0a15
bump v1.38.0
v1.38.0
2023-03-20 18:06:26 +01:00
Oganes Mirzoyan
56f34e0891
Add EmptyableToPtr ( #311 )
...
* Add EmptyableToPtr
2023-03-20 18:05:30 +01:00
Samuel Berthe
9ec076e4f6
test: adding some tests to Substring (see #288 )
2023-03-20 17:59:52 +01:00
Samuel Berthe
cccebf930b
Merge branch 'master' of github.com:samber/lo
2023-03-20 17:56:21 +01:00
Samuel Berthe
43cb1bdf1c
merged from #313
2023-03-20 17:53:44 +01:00
Julian LaNeve
e2be213f5f
Update FlatMap docs to talk about nil case ( #314 )
2023-03-20 17:35:36 +01:00
Jille Timmermans
56ef8fe8a3
Fix goroutine leak in Async ( #319 )
...
All Async* functions should use a buffered channel, so the spawned goroutine can always write its value to the channel even if there is no reader. This allows the goroutine to exit, and the channel to be garbage collected.
2023-03-20 16:41:56 +01:00
Liu Shuang
de3bccf5d0
fix: substring support utf8 character ( #327 )
2023-03-20 15:14:00 +01:00
Samuel Berthe
91570ddfa8
Merge branch 'master' of github.com:samber/lo
2023-03-20 15:13:01 +01:00
Samuel Berthe
443de35ee3
feat: adding DebounceBy ( #329 )
2023-03-20 15:12:54 +01:00
Samuel Berthe
5572807ca2
Merge branch 'master' of github.com:samber/lo
2023-03-20 15:08:44 +01:00
ender
d8986f4238
doc: generics in the example ( #318 )
...
Co-authored-by: miaoyin <miaoyin@woda.com >
2023-03-20 15:08:19 +01:00
Samuel Berthe
7d10bd568a
Merge branch 'master' of github.com:samber/lo
2023-03-20 15:08:05 +01:00
Samuel Berthe
f3826f79fd
lint
2023-03-20 15:06:23 +01:00
Olivier Mengué
34ad3da0f1
doc: add doc links on Deprecated notices
...
Add doc links in deprecation notices mentionned in Go doc comments.
About doc links: https://go.dev/doc/comment#doclinks
2023-02-22 22:00:57 +01:00
Olivier Mengué
439ee11a5d
doc: fix formatting of Deprecated notices
...
Add an empty comment line before "Deprecated:" notices in Go documentation to
follow the convention defined in
https://github.com/golang/go/wiki/Deprecated
This will allow tooling to inform developers about use of those
deprecated APIs.
2023-02-22 21:53:51 +01:00
Trim21
adcf8499eb
perf: preallocate Filter
,Compact
result slice ( #285 )
...
* preallocate `Filter`, Compact result slice
2023-02-20 02:55:30 +01:00
Alexandre Lamarre
fd5561abb3
feat : adding ValueOr ( #295 )
2023-02-20 02:47:59 +01:00
Samuel Berthe
5deeb08bf9
merge
2023-02-20 01:23:59 +01:00
Samuel Berthe
417e49028e
Adding FindOrElse to doc
2023-02-20 01:21:46 +01:00
Samuel Berthe
0ae230766c
Update README.md
2023-02-11 22:37:23 +01:00
Adam Szaraniec
17e921399f
minor changes ( #301 )
2023-01-30 17:10:13 +01:00
Andre Soares
9edcecc66f
Fix documentation ( #300 )
2023-01-30 17:08:51 +01:00
Samuel Berthe
07f7c79134
doc(readme): add comment for lo.Reverse mutation
2022-12-21 16:52:16 +01:00
Samuel Berthe
a780656a5e
Update README.md
2022-12-21 10:57:41 +01:00
Samuel Berthe
c3891c54b6
Update README.md
2022-12-16 13:44:09 +01:00
Samuel Berthe
209668aba0
doc: fix readme badge
2022-12-16 13:36:59 +01:00
Samuel Berthe
259951a8da
bump v1.37.0
2022-12-15 18:37:28 +01:00
Samuel Berthe
5e108eda49
chore(ci): add release script + cleanup dependencies before release ( #284 )
2022-12-15 18:35:02 +01:00
Samuel Berthe
565be2e368
Revert "chore: comment benchmarks, in order to remove go-funk dependency"
...
This reverts commit 28eaf62488
.
2022-12-15 18:26:49 +01:00
Samuel Berthe
1a60415ae9
chore: rename ci workflows
2022-12-15 18:26:40 +01:00
Samuel Berthe
28eaf62488
chore: comment benchmarks, in order to remove go-funk dependency
2022-12-13 19:49:08 +01:00
Samuel Berthe
6438444f7d
adding Transaction
2022-12-12 01:17:03 +01:00
Samuel Berthe
a6aabb4bcd
Merge branch 'master' of github.com:samber/lo
2022-12-09 16:21:31 +01:00
Samuel Berthe
7eb64a6150
update changelog
2022-12-09 16:21:16 +01:00
Anatoly Rugalev
0ed7b6eb2a
fix: set map capacity in Associate ( #282 )
2022-12-09 16:09:44 +01:00
Samuel Berthe
470adbe45b
doc: add PartialX to readme
2022-12-09 15:59:20 +01:00
Ziyadin Shemsedinov
510d0ffaac
more variants of the Partial function, #235 ( #236 )
...
* more variants of the Partial function, #235
* add comment for Partial1 func
2022-12-09 15:52:11 +01:00
Mohit Vachhani
c729db34d0
fix: samples, cOpy -> copy ( #279 )
...
Co-authored-by: Mohit Vachhani <mohitvachhani@Mohits-MacBook-Pro-2.local >
2022-12-02 17:38:35 +01:00
Ayaka Neko
4a1a2338c9
docs: add the missing package reference to examples and playgrounds ( #278 )
...
* docs: add the missing package reference to examples and playgrounds
2022-11-30 16:47:43 +01:00
Samuel Berthe
4c57f6b71e
bump v1.36.0
v1.36.0
2022-11-28 11:30:58 +01:00