An open API service indexing awesome lists of open source software.

https://github.com/kokoiruby/generickit

Helper/Utility featured by Golang Generic
https://github.com/kokoiruby/generickit

Last synced: about 1 month ago
JSON representation

Helper/Utility featured by Golang Generic

Awesome Lists containing this project

README

          

## generickit

**generickit** is a tool kit featured by Golang [Generic](https://go.dev/blog/intro-generics). It offers a range of helper/utility methods for commonly-used data structures.

### Install

Requirement: Go [Release](https://go.dev/dl/) >= v1.18.

In case u got trouble downloading in CN mainland, please enable `$GOPROXY` by this [link](https://goproxy.cn/) and try again.

```bash
$ go get github.com/KokoiRuby/generickit@latest
```

### Links

- [slice](https://github.com/KokoiRuby/generickit/tree/main/slice): Insert, Delete, Aggregate, Reverse, Shrink, Generator, Find, Contains, MapReduce.
- [mapx](https://github.com/KokoiRuby/generickit/tree/main/mapx): Keys, Values, KeysValues, ToMap, SyncMap, HashMap.
- [setx](https://github.com/KokoiRuby/generickit/tree/main/setx): MapSet.
- [list](https://github.com/KokoiRuby/generickit/tree/main/list): ArrayList, ConcurrentList, LinkedList (Circular + Doubly).
- [queue](https://github.com/KokoiRuby/generickit/tree/main/queue): ConcurrentLinked[Blocking]Queue, ConcurrentArrayBlockingQueue.
- [bean](https://github.com/KokoiRuby/generickit/tree/main/bean): Option.
- [sync](https://github.com/KokoiRuby/generickit/tree/main/syncx): Pool, Map.