
一个现代化易上手的Go语言泛型工具库,提供类似Java风格的实用操作方法,同时保持Go语言的高性能特性。✨
| 类型 |
功能分组 |
已实现方法 |
版本 |
| slice |
索引查询 |
IndexOf、IndexOfFunc、LastIndexOf、LastIndexOfFunc、IndexOfAll、IndexOfAllFunc |
v0.0.1 |
|
包含查询 |
Contains、ContainsFunc、ContainsAll、ContainsAllFunc、ContainsAny、ContainsAnyFunc |
|
|
条件查询 |
Find、FindAll |
|
|
聚合计算 |
Max、Min、Sum |
|
|
操作类 |
Reverse、ReverseSelf |
|
| 类型 |
功能分组 |
已实现方法 |
版本 |
| string |
操作类 |
IsEmpty、IsNotEmpty、IsBlank、IsNotBlank |
v0.0.1 |
| 类型 |
功能分组 |
已实现方法 |
版本 |
| random |
操作类 |
Int |
v0.0.1 |
| 类型 |
功能分组 |
已实现方法 |
版本 |
| log |
操作类 |
Debug、Info、Warn、Error |
v0.0.1 |
| 数据结构 |
数据结构分组 |
已实现方法 |
版本 |
| stack |
array_stack |
Push、Pop、Peek、Empty |
v0.0.1 |
|
list_stack |
Push、Pop、Peek、Empty |
|
| 数据结构 |
数据结构分组 |
已实现方法 |
版本 |
| queue |
array_queue |
Offer、Poll、Peek、IsEmpty、Size |
v0.0.1 |
|
linked_queue |
Offer、Poll、Peek、IsEmpty、Size |
|
|
priority_queue |
Offer、Poll、Peek、IsEmpty、Size |
|
|
array_blocking_queue |
Put、Take |
|
| 数据结构 |
数据结构分组 |
已实现方法 |
版本 |
| bitmap |
|
Set、Contains、Reset、Size |
v0.0.1 |
| 数据结构 |
数据结构分组 |
已实现方法 |
版本 |
| pair |
|
String、Split |
v0.0.1 |
| 数据结构 |
计划方法 |
状态 |
| Set |
待定 |
计划中 📅 |
| UnionSet |
待定 |
计划中 📅 |
| Tree |
待定 |
计划中 📅 |
| HashMap |
待定 |
计划中 📅 |
| BloomFilter |
待定 |
计划中 📅 |
| Beanx |
待定 |
计划中 📅 |
| ThreadPool |
待定 |
计划中 📅 |
| Retry |
待定 |
计划中 📅 |
| Sync |
待定 |
计划中 📅 |
go get github.com/ricejson/gotool