Go MIT

gubrak

⚙️ Golang functional utility library with syntactic sugar. It's like lodash, but for Go

N

novalagung

Dernière activité 2 mai 2026
novalagung/gubrak

514

étoiles

40

forks

0

issues ouvertes

functional-programminggogolangutility-library

Ce README est souvent en anglais.

Gubrak v2

A lodash-inspired functional utility library for Go.

latest release build status coverage

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

Projets similaires

A comprehensive, efficient, and reusable util function library of Go.

Gogenericsgogolang
Dduke-git
5,3 k étoiles519

💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)

Goconstraintscontractfilterable
Ssamber
21,4 k étoiles959

A modern JavaScript utility library delivering modularity, performance, & extras.

JavaScriptjavascriptlodashmodules
Llodash
61,3 k étoiles7,2 k