kigen

package module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

README

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.

Documentation

Overview

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

Index

Constants

View Source
const (
	Version     = "v1.0.2"
	GitCommit   = "c643e5f"          // the commit JUST BEFORE the release
	VersionDate = "2023-01-05 19:46" // UTC
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
package ordmap implements an ordered map that retains the order of items added to a slice, while also providing fast key-based map lookup of items, using the Go 1.18 generics system.
package ordmap implements an ordered map that retains the order of items added to a slice, while also providing fast key-based map lookup of items, using the Go 1.18 generics system.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL