• Stars
    star
    481
  • Rank 91,384 (Top 2 %)
  • Language
    Go
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Gubrak v2

Gubrak is Go functional utility library with syntactic sugar. It's like lodash, but for Go Programming language.

Go Report Card Build Status Coverage Status

Installation

The latest version of gubrak is v2. Here are the available method to get this library.

  • Using go get from github, for Go Mod-based project:

    go get -u github.com/novalagung/gubrak/v2
  • Using go get from github, for $GOPATH-based project:

    go get -u github.com/novalagung/gubrak

Usage

Since this library is developed as go module, the versioning system used is the one from Go.

  • For Go Mod-based project:

    import gubrak "github.com/novalagung/gubrak/v2"
  • For $GOPATH-based project:

    import "github.com/novalagung/gubrak"

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

More Repositories

1

dasarpemrogramangolang

📖 Source Code Website/Ebook Dasar Pemrograman Golang
Go
2,305
star
2

dasarpemrogramangolang-example

📖 Source Code Praktik E-book Dasar Pemrograman Golang
Go
325
star
3

dasarpemrogramanrust

📖 Source Code Website/Ebook Dasar Pemrograman Rust
Rust
283
star
4

nvdate

📅 Swift4 Date extension library
Swift
174
star
5

muslimboard

🕌 Muslim Board Browser Extension
JavaScript
144
star
6

httpsproxy2http

🚴 Quick HTTPS forward/reverse proxy for your HTTP web service
HTML
120
star
7

dasarpemrogramanpython

📖 Source Code Website/Ebook Dasar Pemrograman Python
Python
53
star
8

golpal

Golpal - Easy to use Golang Eval Library
Go
45
star
9

go-eek

Blazingly fast and safe Go evaluation library, created on top of Go pkg/plugin package
Go
38
star
10

gorep

Simple tools to replace imported package name in golang project
Go
27
star
11

godong

Easiest dynamic http route handler for golang
Go
23
star
12

skeetoverflow

📋 A fun browser extension for replacing all reputations on StackOverflow into a percentage of Jon Skeet's point
JavaScript
20
star
13

dasarpemrogramanrust-example

📖 Source Code Praktik E-book Dasar Pemrograman Rust
Rust
19
star
14

learndevops

📖 Source Code E-book Learn Devops
Go
18
star
15

react-native-ble-read-peripheral

Example of Peripheral Communication with React Native BLE (Bluetooth Low Energy)
JavaScript
10
star
16

go-ternary

Ternary helper for Go programming language
Go
9
star
17

dasarpemrogramanpython-example

📖 Source Code Praktik E-book Dasar Pemrograman Python
Python
8
star
18

howto

JavaScript
5
star
19

natskeepalivesubscribe

Example of nats keep-alive subscription in Go
Go
5
star
20

novalagung

4
star
21

mypullrequests

List of my contributions to some open source projects
4
star
22

golang-docker-private-modules-https

Golang Dockerfile with private dependencies, without using ssh (only HTTPS)
Dockerfile
4
star
23

aws-cloudflare-ip-whitelist

Rust
3
star
24

my-book

JavaScript
3
star
25

gitbook-plugin-docsearch-v3

DocSearch v3 plugin for HonKit / GitBook legacy
JavaScript
2
star
26

wow-addons-manager

World of Warcraft Addons Manager
1
star
27

mywowmacros

World of Warcraft macros backup
Lua
1
star
28

go-latest-from-source

Go binary built from latest Go source code
Dockerfile
1
star