dudaodong
c0b200f846
feat: add ReduceConcurrent
2024-08-15 17:48:26 +08:00
dudaodong
305847993c
feat: add ForEachConcurrent
2024-08-15 16:44:22 +08:00
dudaodong
f5d70728c3
refactoring: rename param and change its order
2024-08-15 15:50:48 +08:00
残念
c2a5335bc6
feat: add RandSliceFromGivenSlice function ( #236 )
2024-08-15 15:20:36 +08:00
残念
7b4e060f85
feat: add RandFromGivenSlice function ( #235 )
...
* feat: add RandFromGivenSlice function
* feat: add RandFromGivenSlice function
2024-08-14 19:36:12 +08:00
dudaodong
a360372aa9
feat: add FilterConcurrent
2024-08-14 11:19:10 +08:00
dudaodong
7f78a6b11e
refactoring: rename slice_parallel to slice_concurrent
2024-08-14 10:52:36 +08:00
dudaodong
5c53cb5867
feat: add MapConcurrent
2024-08-14 10:45:35 +08:00
dudaodong
f7e9d5dc47
doc: add doc for UniqueByComparator and UniqueByParallel
2024-08-13 11:00:47 +08:00
dudaodong
0f9764f41e
feat: add Throttle function
2024-08-09 14:28:15 +08:00
dudaodong
0bc5f82554
doc: add RandBool, RandBoolSlice
2024-08-09 11:47:36 +08:00
dudaodong
e91965b013
feat: add RandStringSlice, RandBool, RandBoolSlice
2024-08-09 11:44:56 +08:00
dudaodong
483a286d8e
feat: add RandIntSlice function
2024-08-09 10:46:08 +08:00
dudaodong
3f8e306ced
doc: update deprecated warning text
2024-08-08 15:44:19 +08:00
dudaodong
0b29f0520d
feat: add Debounce function
2024-08-08 15:19:38 +08:00
dudaodong
3e7f94b03e
fix: fix UniqueBy bug
2024-08-08 10:40:23 +08:00
dudaodong
eb7cf76eae
doc: fix doc error
2024-07-18 11:44:00 +08:00
dudaodong
4af074d181
doc: add play ground demo
2024-07-18 11:34:16 +08:00
dudaodong
8be7b3e396
rename UnwrapOr
2024-07-18 10:12:16 +08:00
dudaodong
2097277a7d
doc: add doc for UniqueByField
2024-06-25 15:20:03 +08:00
dudaodong
a220220f09
feat: add GetOrSet
2024-06-24 17:28:51 +08:00
dudaodong
9b7d8d7abf
doc: update vitepress version
2024-06-11 10:06:33 +08:00
残念
ce2397422e
perf(slice): make a clearer panic description ( #223 )
2024-05-30 16:55:30 +08:00
dudaodong
e054680d20
doc: ignoreDeadLinks in doc
2024-05-14 11:42:48 +08:00
dudaodong
5381842eec
doc: update doc for v2.3.1
2024-05-14 11:26:14 +08:00
dudaodong
6e0498514c
doc: update doc for v2.3.1
2024-05-14 11:25:01 +08:00
Cannian
5e6e8d82a8
feat(maputil): add ToSortedSlicesDefault method and ToSortedSlicesWithComparator method ( #206 )
2024-03-31 21:04:55 +08:00
Cannian
e9280b8c25
add Concat method ( #204 )
...
* feat(strutil): add Concat method
* feat(strutil): add Concat method
2024-03-25 10:26:37 +08:00
dudaodong
004dbdc32e
doc: update doc for RightPadding and LeftPadding
2024-03-12 09:52:02 +08:00
donutloop
ab50e8120a
Slice: padding ( #201 )
...
* LeftPadding adds padding to the left begin of a slice.
* RightPadding adds padding to the right end of a slice.
2024-03-10 21:24:17 +08:00
dudaodong
73c97af7d8
doc: update doc for Break function
2024-03-08 21:39:06 +08:00
donutloop
5e8a065eaa
Slice: break ( #200 )
...
Splits a slice into two based on a predicate function. It starts appending to the second slice after the first element that matches the predicate. All elements after the first match are included in the second slice, regardless of whether they match the predicate or not.
2024-03-07 14:11:19 +08:00
dudaodong
aa74400607
doc: fix doc text error
2024-03-06 16:19:20 +08:00
dudaodong
a6eaaef563
doc: add go playground demo
2024-03-06 15:28:55 +08:00
dudaodong
1b31014f81
doc: add go playground demo
2024-03-06 14:52:35 +08:00
dudaodong
d21edd1cde
doc: add doc for retry package
2024-03-05 14:38:42 +08:00
dudaodong
c58c50327c
doc: add doc for ChunkRead and ParallelChunkRead
2024-03-05 11:42:03 +08:00
dudaodong
9bfdc686f8
doc: update contribution_guide file
2024-03-05 10:47:51 +08:00
dudaodong
5ca8f6ef6f
doc: update doc
2024-03-05 10:45:40 +08:00
dudaodong
a54d4c79a0
doc: update doc for mathutil package
2024-03-04 19:52:49 +08:00
Cannian
f7b54986aa
feat(mathutil): add DIv, FloorToFloat, FloorToString, CeilToFloat, CeilToString ( #199 )
2024-03-04 17:40:31 +08:00
dudaodong
0d29f5437a
doc: update doc for new added functions
2024-03-04 16:41:54 +08:00
dudaodong
e95d7c82cd
doc: update doc for function package
2024-03-04 10:19:39 +08:00
donutloop
e138043289
Function: AcceptIf ( #198 )
...
AcceptIf returns another function of the same signature as the apply function but also includes a bool value to indicate success or failure.
A predicate function that takes an argument of type T and returns a bool.
An apply function that also takes an argument of type T and returns a modified value of the same type.
2024-03-04 10:00:43 +08:00
dudaodong
aabfcb7bde
doc: update doc for HammingDistance
2024-03-03 21:55:27 +08:00
donutloop
0b5e884371
Strutil: HammingDistance func ( #197 )
...
* Strutil: HammingDistance func
The Hamming distance is the number of positions at which the corresponding symbols are different
* Add hamming distance doc
2024-03-03 21:48:34 +08:00
dudaodong
3d1bd08434
doc: update doc for new functions
2024-03-01 22:38:57 +08:00
Cannian
c02c4f813b
refactor(mathutil): round related method support generics ( #195 )
2024-03-01 16:04:23 +08:00
Cannian
81d13c2f1a
feat(convertor): add ToBase64 related method ( #194 )
2024-02-29 19:22:32 +08:00
Cannian
6c6d14828a
feat(set, doc): add ToSlice,ToSortedSlice method,fix doc ( #189 )
2024-02-28 15:43:34 +08:00