Awesome Go

gubrak

CategoryUtilities
SubcategoryUtilities
Stars517

Golang utility library with syntactic sugar. It's like lodash, but for golang

About gubrak

Gubrak v2

A lodash-inspired functional utility library for Go.

Installation

go get -u github.com/novalagung/gubrak/v2

Documentation

Hello World Example

Lodash for Golang

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

Frequently Asked Questions

What is gubrak?

gubrak is a Utilities library for the Go programming language. Golang utility library with syntactic sugar. It's like lodash, but for golang

How do I install gubrak?

Install gubrak with the Go module system using `go get novalagung/gubrak`. Check the repository for the current installation instructions.

What category does gubrak belong to?

gubrak is listed under Utilities, specifically Utilities.

← Back to Utilities