📚 gubrak - Awesome Go Library for Utilities

Go Gopher mascot for gubrak

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

🏷️ Utilities
📂 Utilities
0 stars
View on GitHub 🔗

Detailed Description of 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