Awesome Go

gubrak

CategoryUtilities
SubcategoryUtilities
Stars0

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

About gubrak

Gubrak v2

Gubrak is Go functional utility library with syntactic sugar. It is similar to lodash, but for Go language.

GitHub Tag Go Report Card Coverage Status

Installation

The latest version of gubrak is v2. Use the following command to install it to your project.

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:

ChunkCompactConcatCountDifferenceDropDropRightEachEachRightFillFilterFindFindIndexFindLastFindLastIndexFirstForEachForEachRightFromPairsGroupByHeadIncludesIndexOfInitialIntersectionIsArrayIsBoolIsChannelIsDateIsEmptyIsEmptyStringIsFloatIsFunctionIsIntIsMapIsNilIsNumericIsPointerIsSliceIsStringIsStructObjectIsTrueIsUintIsZeroNumberJoinKeyByLastLastIndexOfMapNowNthOrderByPartitionPullPullAllPullAtRandomIntRandomStringReduceRejectRemoveReverseSampleSampleSizeShuffleSizeSortByTailTakeTakeRightUnionUniqWithout

Test

go test -cover -race -v ./... 

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