goki / kigen

Go 1.18+ Generics Libraries, for GoKi framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kigen: Go 1.18+ Generics Libraries, for GoKi framework

Go Report Card Go Reference CI Codecov

This collection of Generics libraries takes advantage of the new generic type parameters introduced in Go 1.18.

ordmap: ordered map

Implements an ordered map that retains the order of items added to a slice, while also providing fast key-based map lookup of items.

dedupe: deduplicate (uniquify) any slice with comparable elements

Implements a de-duplication function for any comparable slice type, efficiently using a map to check for duplicates. The original order of items is preserved.

About

Go 1.18+ Generics Libraries, for GoKi framework

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 79.4%Language:Makefile 20.6%