dudaodong
|
c01c9d14b4
|
feat: add ReduceRight
|
2023-04-04 17:54:54 +08:00 |
|
dudaodong
|
f198191063
|
feat: add ReduceBy
|
2023-04-04 17:41:37 +08:00 |
|
Mickls
|
3b497532f3
|
fix: The LastIndexOf method can never return the index of the first element (#83)
Co-authored-by: JiangCheng <jiangcheng@kezaihui.com>
|
2023-03-28 20:02:57 +08:00 |
|
dudaodong
|
f09e521783
|
doc: add go playground demo
|
2023-03-22 21:06:01 +08:00 |
|
dudaodong
|
0b80074bb7
|
refactor: remove unused code
|
2023-03-20 10:35:37 +08:00 |
|
dudaodong
|
d0ffc61842
|
doc: fix doc error
|
2023-03-16 10:36:06 +08:00 |
|
dudaodong
|
0734f220b3
|
feat: add ForEachWithBreak support break for each loop
|
2023-03-15 14:38:33 +08:00 |
|
dudaodong
|
71aa91a58d
|
doc: add go playground demo
|
2023-03-01 11:39:27 +08:00 |
|
dudaodong
|
9d2c9806d1
|
feat: add ContainBy function
|
2023-02-24 14:19:10 +08:00 |
|
dudaodong
|
f3801bcd8f
|
feat: add FlatMap
|
2023-02-24 11:14:59 +08:00 |
|
dudaodong
|
5767aad303
|
feat: add FilterMap
|
2023-02-24 10:55:27 +08:00 |
|
dudaodong
|
ca9ecb9c8a
|
update go playground demo
|
2023-02-16 14:10:24 +08:00 |
|
dudaodong
|
75b27c6540
|
feat: add IsSortedByKey
|
2023-02-10 10:10:57 +08:00 |
|
dudaodong
|
a7e77fa98d
|
feat: add IsSorted
|
2023-02-09 19:30:11 +08:00 |
|
dudaodong
|
abf392117a
|
feat: add IsAscending, Isdescending
|
2023-02-09 19:25:58 +08:00 |
|
dudaodong
|
d231d9f572
|
feat: add DropRightWhile
|
2023-02-09 17:53:26 +08:00 |
|
dudaodong
|
97447d058e
|
test: add test and example for DropWhile
|
2023-02-09 17:46:40 +08:00 |
|
dudaodong
|
040e112aa6
|
feat: add DropRight and DropWhile
|
2023-02-09 17:38:31 +08:00 |
|
dudaodong
|
d9c6294775
|
fix: fix goline error
|
2023-01-05 14:55:47 +08:00 |
|
dudaodong
|
d8505d1a5f
|
doc: update doc for slice package
|
2023-01-05 14:49:30 +08:00 |
|
dudaodong
|
6498c7d68a
|
test: add examples for slice package
|
2023-01-05 11:26:56 +08:00 |
|
dudaodong
|
5f0211f0c4
|
test: add examples for slice package
|
2023-01-04 14:44:10 +08:00 |
|
dudaodong
|
a70ec6ad1e
|
refactor: use constraints from golang.org/x/exp/constraints
|
2022-12-11 11:25:34 +08:00 |
|
Mickls
|
d59259bbe0
|
feat: A more reasonable IndexOf function (#66)
|
2022-12-09 11:31:40 +08:00 |
|
dudaodong
|
263ab7e316
|
clean code
|
2022-12-03 14:41:58 +08:00 |
|
dudaodong
|
18914ee2cd
|
feat: add deprecat IntSlice, InterfaceSlice and StringSlice
|
2022-12-03 14:00:44 +08:00 |
|
dudaodong
|
0a8058956f
|
feat: add Count and CountBy function
|
2022-12-03 13:04:12 +08:00 |
|
dudaodong
|
a044da7d2f
|
refactor: clean code
|
2022-12-03 12:58:25 +08:00 |
|
dudaodong
|
82c8a04c35
|
make SortByField function deprecate
|
2022-12-02 15:17:08 +08:00 |
|
dudaodong
|
280ecb5cef
|
feat: add SortBy function for slice
|
2022-12-02 14:53:57 +08:00 |
|
dudaodong
|
ec27ad4c40
|
feat: add Sort function for slice
|
2022-12-01 22:46:56 +08:00 |
|
dudaodong
|
d8ed692651
|
refactor: code improvement, ToString, Contain, Compact
|
2022-12-01 11:38:25 +08:00 |
|
dudaodong
|
a16de97d1d
|
refactor: code improvement, ToString, Contain, Compact
|
2022-12-01 11:38:14 +08:00 |
|
dudaodong
|
a87faf5453
|
feat: add Repeate function for slice
|
2022-11-27 21:43:38 +08:00 |
|
dudaodong
|
ab6fec2f69
|
refactor: fix bad code smell
|
2022-11-27 21:36:30 +08:00 |
|
dudaodong
|
7b290989f5
|
feat: add Merge function
|
2022-11-27 20:20:00 +08:00 |
|
dudaodong
|
be148e07ba
|
fix: fix chunk slice bug
|
2022-11-26 16:21:57 +08:00 |
|
dudaodong
|
089fd4e13c
|
feat: add UnionBy for slice
|
2022-11-05 19:45:34 +08:00 |
|
dudaodong
|
6c40e02324
|
refactor: clean code
|
2022-11-05 19:33:56 +08:00 |
|
dudaodong
|
a270b1b634
|
feat: make code clear
|
2022-11-05 17:09:56 +08:00 |
|
dudaodong
|
260fb795d3
|
feat: add KeyBy for slice
|
2022-11-05 16:52:31 +08:00 |
|
dudaodong
|
8c036f830c
|
refactor: remove unuseful code
|
2022-11-05 16:39:42 +08:00 |
|
dudaodong
|
eced25b76d
|
test: add unit test for Replace and ReplaceAll
|
2022-10-17 10:26:54 +08:00 |
|
dudaodong
|
96a4327aa7
|
fix: fix some static check issues
|
2022-10-15 15:03:24 +08:00 |
|
dudaodong
|
fcfbdea597
|
feat: add Replace and ReplaceAll for slice
|
2022-10-15 14:49:49 +08:00 |
|
dudaodong
|
553f63e76b
|
refactor: update param name in AppendIfAbsent
|
2022-07-27 15:45:34 +08:00 |
|
dudaodong
|
5c66f38a5b
|
test: fix test function name TestAppendIfAbsent
|
2022-07-27 15:38:51 +08:00 |
|
郑一诺她爸
|
70e213b3f7
|
feat:(slice add AppendIfAbsent function) (#52)
Co-authored-by: george.zheng <george.zheng@ambergroup.io>
|
2022-07-25 20:52:33 +08:00 |
|
dudaodong
|
105ab49763
|
refactor: change slice Contain logic, convert to map first, then check existence
|
2022-07-22 10:22:34 +08:00 |
|
dudaodong
|
44370aef5e
|
refactor: change variable name to
|
2022-07-18 15:52:51 +08:00 |
|