novalagung/gubrak
About
⚙️ Golang functional utility library with syntactic sugar. It's like lodash, but for Go
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalGubrak 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
Explore related projects
Loading…