{"id":13547224,"url":"https://github.com/novalagung/gubrak","last_synced_at":"2025-04-13T02:09:48.998Z","repository":{"id":57482107,"uuid":"124531976","full_name":"novalagung/gubrak","owner":"novalagung","description":"⚙️ Golang functional utility library with syntactic sugar. It's like lodash, but for Go","archived":false,"fork":false,"pushed_at":"2023-03-08T10:11:14.000Z","size":222,"stargazers_count":491,"open_issues_count":0,"forks_count":38,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-13T02:09:14.662Z","etag":null,"topics":["functional-programming","go","golang","utility-library"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/novalagung/gubrak","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/novalagung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-03-09T11:28:05.000Z","updated_at":"2025-04-10T20:14:06.000Z","dependencies_parsed_at":"2022-09-02T04:20:28.228Z","dependency_job_id":"70d29aa6-8c29-4749-8651-4ff1e1db8011","html_url":"https://github.com/novalagung/gubrak","commit_stats":{"total_commits":140,"total_committers":3,"mean_commits":"46.666666666666664","dds":"0.12857142857142856","last_synced_commit":"e3d6b7246d071cf4a04def4289c42c82bdaa6053"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novalagung%2Fgubrak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novalagung%2Fgubrak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novalagung%2Fgubrak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novalagung%2Fgubrak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/novalagung","download_url":"https://codeload.github.com/novalagung/gubrak/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654090,"owners_count":21140236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["functional-programming","go","golang","utility-library"],"created_at":"2024-08-01T12:00:52.676Z","updated_at":"2025-04-13T02:09:48.963Z","avatar_url":"https://github.com/novalagung.png","language":"Go","funding_links":[],"categories":["Go","工具库","公用事业公司","Utilities","工具库`可以提升效率的通用代码库和工具`","Utility"],"sub_categories":["查询语","实用程序/Miscellaneous","Utility/Miscellaneous","HTTP Clients","Fail injection"],"readme":"# Gubrak v2\n\nGubrak is Go functional utility library with syntactic sugar. It's like lodash, but for Go Programming language.\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/novalagung/gubrak?nocache=1)](https://goreportcard.com/report/github.com/novalagung/gubrak?nocache=1)\n[![Build Status](https://travis-ci.org/novalagung/gubrak.svg?branch=master)](https://travis-ci.org/novalagung/gubrak)\n[![Coverage Status](https://coveralls.io/repos/github/novalagung/gubrak/badge.svg?branch=master)](https://coveralls.io/github/novalagung/gubrak?branch=master)\n\n## Installation\n\nThe latest version of gubrak is v2. Here are the available method to get this library.\n\n- Using `go get` from github, for **Go Mod**-based project:\n\n    ```bash\n    go get -u github.com/novalagung/gubrak/v2\n    ```\n\n- Using `go get` from github, for `$GOPATH`-based project:\n\n    ```bash\n    go get -u github.com/novalagung/gubrak\n    ```\n\n## Usage\n\nSince this library is developed as go module, the versioning system used is the one from Go.\n\n- For **Go Mod**-based project:\n\n    ```go\n    import gubrak \"github.com/novalagung/gubrak/v2\"\n    ```\n\n- For `$GOPATH`-based project:\n\n    ```go\n    import \"github.com/novalagung/gubrak\"\n    ```\n\n## Documentation\n\n - [Pkg Dev](https://pkg.go.dev/github.com/novalagung/gubrak/v2)\n - [Godoc](https://godoc.org/github.com/novalagung/gubrak)\n\n## Hello World Example\n\n![Lodash for Golang](https://i.imgur.com/bvT1gVM.jpg)\n\n## APIs\n\nBelow are the list of available functions on gubrak:\n\n[Chunk](https://pkg.go.dev/github.com/novalagung/gubrak#Chunk) • [Compact](https://pkg.go.dev/github.com/novalagung/gubrak#Compact) • [Concat](https://pkg.go.dev/github.com/novalagung/gubrak#Concat) • [Count](https://pkg.go.dev/github.com/novalagung/gubrak#Count) • [Difference](https://pkg.go.dev/github.com/novalagung/gubrak#Difference) • [Drop](https://pkg.go.dev/github.com/novalagung/gubrak#Drop) • [DropRight](https://pkg.go.dev/github.com/novalagung/gubrak#DropRight) • [Each](https://pkg.go.dev/github.com/novalagung/gubrak#Each) • [EachRight](https://pkg.go.dev/github.com/novalagung/gubrak#EachRight) • [Fill](https://pkg.go.dev/github.com/novalagung/gubrak#Fill) • [Filter](https://pkg.go.dev/github.com/novalagung/gubrak#Filter) • [Find](https://pkg.go.dev/github.com/novalagung/gubrak#Find) • [FindIndex](https://pkg.go.dev/github.com/novalagung/gubrak#FindIndex) • [FindLast](https://pkg.go.dev/github.com/novalagung/gubrak#FindLast) • [FindLastIndex](https://pkg.go.dev/github.com/novalagung/gubrak#FindLastIndex) • [First](https://pkg.go.dev/github.com/novalagung/gubrak#First) • [ForEach](https://pkg.go.dev/github.com/novalagung/gubrak#ForEach) • [ForEachRight](https://pkg.go.dev/github.com/novalagung/gubrak#ForEachRight) • [FromPairs](https://pkg.go.dev/github.com/novalagung/gubrak#FromPairs) • [GroupBy](https://pkg.go.dev/github.com/novalagung/gubrak#GroupBy) • [Head](https://pkg.go.dev/github.com/novalagung/gubrak#Head) • [Includes](https://pkg.go.dev/github.com/novalagung/gubrak#Includes) • [IndexOf](https://pkg.go.dev/github.com/novalagung/gubrak#IndexOf) • [Initial](https://pkg.go.dev/github.com/novalagung/gubrak#Initial) • [Intersection](https://pkg.go.dev/github.com/novalagung/gubrak#Intersection) • [IsArray](https://pkg.go.dev/github.com/novalagung/gubrak#IsArray) • [IsBool](https://pkg.go.dev/github.com/novalagung/gubrak#IsBool) • [IsChannel](https://pkg.go.dev/github.com/novalagung/gubrak#IsChannel) • [IsDate](https://pkg.go.dev/github.com/novalagung/gubrak#IsDate) • [IsEmpty](https://pkg.go.dev/github.com/novalagung/gubrak#IsEmpty) • [IsEmptyString](https://pkg.go.dev/github.com/novalagung/gubrak#IsEmptyString) • [IsFloat](https://pkg.go.dev/github.com/novalagung/gubrak#IsFloat) • [IsFunction](https://pkg.go.dev/github.com/novalagung/gubrak#IsFunction) • [IsInt](https://pkg.go.dev/github.com/novalagung/gubrak#IsInt) • [IsMap](https://pkg.go.dev/github.com/novalagung/gubrak#IsMap) • [IsNil](https://pkg.go.dev/github.com/novalagung/gubrak#IsNil) • [IsNumeric](https://pkg.go.dev/github.com/novalagung/gubrak#IsNumeric) • [IsPointer](https://pkg.go.dev/github.com/novalagung/gubrak#IsPointer) • [IsSlice](https://pkg.go.dev/github.com/novalagung/gubrak#IsSlice) • [IsString](https://pkg.go.dev/github.com/novalagung/gubrak#IsString) • [IsStructObject](https://pkg.go.dev/github.com/novalagung/gubrak#IsStructObject) • [IsTrue](https://pkg.go.dev/github.com/novalagung/gubrak#IsTrue) • [IsUint](https://pkg.go.dev/github.com/novalagung/gubrak#IsUint) • [IsZeroNumber](https://pkg.go.dev/github.com/novalagung/gubrak#IsZeroNumber) • [Join](https://pkg.go.dev/github.com/novalagung/gubrak#Join) • [KeyBy](https://pkg.go.dev/github.com/novalagung/gubrak#KeyBy) • [Last](https://pkg.go.dev/github.com/novalagung/gubrak#Last) • [LastIndexOf](https://pkg.go.dev/github.com/novalagung/gubrak#LastIndexOf) • [Map](https://pkg.go.dev/github.com/novalagung/gubrak#Map) • [Now](https://pkg.go.dev/github.com/novalagung/gubrak#Now) • [Nth](https://pkg.go.dev/github.com/novalagung/gubrak#Nth) • [OrderBy](https://pkg.go.dev/github.com/novalagung/gubrak#OrderBy) • [Partition](https://pkg.go.dev/github.com/novalagung/gubrak#Partition) • [Pull](https://pkg.go.dev/github.com/novalagung/gubrak#Pull) • [PullAll](https://pkg.go.dev/github.com/novalagung/gubrak#PullAll) • [PullAt](https://pkg.go.dev/github.com/novalagung/gubrak#PullAt) • [RandomInt](https://pkg.go.dev/github.com/novalagung/gubrak#RandomInt) • [RandomString](https://pkg.go.dev/github.com/novalagung/gubrak#RandomString) • [Reduce](https://pkg.go.dev/github.com/novalagung/gubrak#Reduce) • [Reject](https://pkg.go.dev/github.com/novalagung/gubrak#Reject) • [Remove](https://pkg.go.dev/github.com/novalagung/gubrak#Remove) • [Reverse](https://pkg.go.dev/github.com/novalagung/gubrak#Reverse) • [Sample](https://pkg.go.dev/github.com/novalagung/gubrak#Sample) • [SampleSize](https://pkg.go.dev/github.com/novalagung/gubrak#SampleSize) • [Shuffle](https://pkg.go.dev/github.com/novalagung/gubrak#Shuffle) • [Size](https://pkg.go.dev/github.com/novalagung/gubrak#Size) • [SortBy](https://pkg.go.dev/github.com/novalagung/gubrak#SortBy) • [Tail](https://pkg.go.dev/github.com/novalagung/gubrak#Tail) • [Take](https://pkg.go.dev/github.com/novalagung/gubrak#Take) • [TakeRight](https://pkg.go.dev/github.com/novalagung/gubrak#TakeRight) • [Union](https://pkg.go.dev/github.com/novalagung/gubrak#Union) • [Uniq](https://pkg.go.dev/github.com/novalagung/gubrak#Uniq) • [Without](https://pkg.go.dev/github.com/novalagung/gubrak#Without)\n\n## Test\n\n```bash\ngo test -cover -race -v ./... \n```\n\n## Contribution\n\nFork ➜ Create branch ➜ Commit ➜ Push ➜ Pull Requests\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovalagung%2Fgubrak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovalagung%2Fgubrak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovalagung%2Fgubrak/lists"}