https://github.com/goki/kigen
Go 1.18+ Generics Libraries, for GoKi framework
https://github.com/goki/kigen
Last synced: about 1 year ago
JSON representation
Go 1.18+ Generics Libraries, for GoKi framework
- Host: GitHub
- URL: https://github.com/goki/kigen
- Owner: goki
- License: bsd-3-clause
- Created: 2022-05-14T12:09:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-08T03:55:35.000Z (over 2 years ago)
- Last Synced: 2025-02-08T13:26:35.742Z (over 1 year ago)
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kigen: Go 1.18+ Generics Libraries, for GoKi framework
[](https://goreportcard.com/report/github.com/goki/kigen)
[](https://pkg.go.dev/github.com/goki/kigen)
[](https://github.com/goki/kigen/actions/workflows/ci.yml)
[](https://codecov.io/gh/goki/kigen)
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.