The highest tagged major version is
v2.
module
Version:
v1.0.17
Opens a new window with list of versions in this module.
Published: Apr 18, 2023
License: MIT
Opens a new window with license information.
README
¶
开发项目用到的工具库, 借鉴了部分开源项目的utility, 避免每次都造轮子。
ds包
该包包含常见的数据结构以及一些函数式方法
Fp函数式相关
- FpEach*
迭代集合中元素,本地修改然后返回原先的集合
- FpEvery*
迭代集合中元素,判断是否所有元素都满足条件, 返回布尔值
- FpFilter*
迭代集合中元素,判断是否有满足条件的元素,返回满足条件元素的集合
- FpIter*
迭代集合中元素,只是读取元素内容,不做任何操作
- FpMap*
迭代集合中元素,作用生成新的元素, 返回新的集合
- FpPartition*
迭代集合中的元素,根据条件拆分成两个集合
- FpPartial*
绑定函数参数
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
Package ds queue copy from https://github.com/eapache/queue/blob/master/queue.go
|
Package ds queue copy from https://github.com/eapache/queue/blob/master/queue.go |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.