Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/xgfone/go-generics

Provide some common generic functions.
https://github.com/xgfone/go-generics

functions generic generics go go-generics golang golang-generics map maps slice slices

Last synced: 30 days ago
JSON representation

Provide some common generic functions.

Awesome Lists containing this project

README

        

# Go Generics [![Build Status](https://github.com/xgfone/go-generics/actions/workflows/go.yml/badge.svg)](https://github.com/xgfone/go-generics/actions/workflows/go.yml) [![GoDoc](https://pkg.go.dev/badge/github.com/xgfone/go-generics)](https://pkg.go.dev/github.com/xgfone/go-generics) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](https://raw.githubusercontent.com/xgfone/go-generics/master/LICENSE)

Provide some extra generic functions except for the functions in stdlib `slices` and `maps`, supporting `Go1.21+`.

## Installation
```shell
$ go get -u github.com/xgfone/go-generics
```