novalagung/gubrak
关于
⚙️ 提供语法糖的 Golang 函数式工具库。类似 lodash,但面向 Go
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Gubrak v2
A lodash-inspired functional utility library for Go.
Installation
go get -u github.com/novalagung/gubrak/v2
Documentation
Hello World Example

APIs
Below are the list of available functions on gubrak:
Chunk • Compact • Concat • Count • Difference • Drop • DropRight • Each • EachRight • Fill • Filter • Find • FindIndex • FindLast • FindLastIndex • First • ForEach • ForEachRight • FromPairs • GroupBy • Head • Includes • IndexOf • Initial • Intersection • IsArray • IsBool • IsChannel • IsDate • IsEmpty • IsEmptyString • IsFloat • IsFunction • IsInt • IsMap • IsNil • IsNumeric • IsPointer • IsSlice • IsString • IsStructObject • IsTrue • IsUint • IsZeroNumber • Join • KeyBy • Last • LastIndexOf • Map • Now • Nth • OrderBy • Partition • Pull • PullAll • PullAt • RandomInt • RandomString • Reduce • Reject • Remove • Reverse • Sample • SampleSize • Shuffle • Size • SortBy • Tail • Take • TakeRight • Union • Uniq • Without
Test
go test -count=1 -race -run "^Test" -skip "TestLoadData" . -v --cover
Contribution
Fork ➜ Create branch ➜ Commit ➜ Push ➜ Pull Requests
License
MIT License
探索相关项目
加载中…