Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kakilangit/sutil

Go generic slice util
https://github.com/kakilangit/sutil

generics go go118

Last synced: 28 days ago
JSON representation

Go generic slice util

Awesome Lists containing this project

README

        

# Sutil

[![PkgGoDev](https://pkg.go.dev/badge/github.com/kakilangit/sutil)](https://pkg.go.dev/github.com/kakilangit/sutil)
[![Build Status](https://app.travis-ci.com/kakilangit/sutil.svg?branch=main)](https://app.travis-ci.com/kakilangit/sutil)

![sutil image https://pixabay.com/users/ayecabi-9935472/](sutil.png)

Sutil is slice util: a slice snippet collection for Go.

Requires go >= 1.18.

```shell
go get -u -v github.com/kakilangit/sutil
```

It's spatula in Indonesian/Javanese language.

Check the [tests](sutil_test.go) to see how to use generic slices with sutil.