Skip to content

ricejson/gotool

Repository files navigation

Go Toolkit 🛠️

Go Version License Build Status Coverage GoDoc

一个现代化易上手的Go语言泛型工具库,提供类似Java风格的实用操作方法,同时保持Go语言的高性能特性。✨

功能特性

当前支持的功能 ✅

slicex 功能分组表

类型 功能分组 已实现方法 版本
slice 索引查询 IndexOfIndexOfFuncLastIndexOfLastIndexOfFuncIndexOfAllIndexOfAllFunc v0.0.1
包含查询 ContainsContainsFuncContainsAllContainsAllFuncContainsAnyContainsAnyFunc
条件查询 FindFindAll
聚合计算 MaxMinSum
操作类 ReverseReverseSelf

stringx 功能分组表

类型 功能分组 已实现方法 版本
string 操作类 IsEmptyIsNotEmptyIsBlankIsNotBlank v0.0.1

randx 功能分组表

类型 功能分组 已实现方法 版本
random 操作类 Int v0.0.1

logx 功能分组表

类型 功能分组 已实现方法 版本
log 操作类 DebugInfoWarnError v0.0.1

当前支持的数据结构 ✅

stack 数据结构表

数据结构 数据结构分组 已实现方法 版本
stack array_stack PushPopPeekEmpty v0.0.1
list_stack PushPopPeekEmpty

queue 数据结构表

数据结构 数据结构分组 已实现方法 版本
queue array_queue OfferPollPeekIsEmptySize v0.0.1
linked_queue OfferPollPeekIsEmptySize
priority_queue OfferPollPeekIsEmptySize
array_blocking_queue PutTake

bitmap 数据结构表

数据结构 数据结构分组 已实现方法 版本
bitmap SetContainsResetSize v0.0.1

pair 数据结构表

数据结构 数据结构分组 已实现方法 版本
pair StringSplit v0.0.1

开发计划中 🚧

数据结构 计划方法 状态
Set 待定 计划中 📅
UnionSet 待定 计划中 📅
Tree 待定 计划中 📅
HashMap 待定 计划中 📅
BloomFilter 待定 计划中 📅
Beanx 待定 计划中 📅
ThreadPool 待定 计划中 📅
Retry 待定 计划中 📅
Sync 待定 计划中 📅

📦 安装

go get github.com/ricejson/gotool

About

一个Go语言的工具库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors