Nathan Baulch
76b76a7adb
lint: Apply testifylint linter recommendations ( #669 )
2025-09-20 00:50:00 +02:00
ghosx
bededfed30
feature: add Mode function with tests and documentation ( #644 )
...
* Update README.md
Fixed the error in the usage example of lo.Latest in readme.md
use []time.Time{…} (value of type []time.Time) as time.Time value in argument to lo.Latest
* Update README.md
* feature: add Mode function with tests and documentation
---------
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr >
2025-07-07 02:05:39 +02:00
Samuel Berthe
96d5482643
fix(product): fix empty slice behavior ( #583 ) ( #584 )
2025-01-28 12:35:04 +01:00
JohnDevitt
1c1dfd9d29
feat: add Product and ProductBy functions ( #566 )
...
Co-authored-by: John.Devitt@cdp.net <JohnDevitt@Mac.cust.communityfibre.co.uk >
2025-01-27 01:02:11 +01: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
Samuel Berthe
ce01c4c64b
doc: improve doc for lo.Sum
2022-10-10 22:25:14 +02:00
JC Dansereau
6f0207afd8
add slice sum ( #210 )
...
Co-authored-by: JC Dansereau <jcdansereau@hortau.com >
2022-10-10 22:18:57 +02:00
Samuel Berthe
31f3bc3a85
test: parallel tests everywhere ( #228 )
2022-10-02 21:38:26 +02:00
lu4p
305f565368
remove unnecessary explicit typeparams ( #134 )
2022-05-11 13:10:36 +02:00
Pål Fossmo
9b345886aa
Moved SumBy function to math.go.
...
Changed from data types to constraints in SumBy function signature.
2022-04-30 21:06:31 +02:00
Samuel Berthe
cf11153875
feat: adding Clamp
2022-04-12 21:58:28 +02:00