genlib

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 0 Imported by: 0

README

go-genlib

Helpful data structures and code using Go generics.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max[T Number](x, y T) T

func Min

func Min[T Number](x, y T) T

Types

type Number

type Number interface {
	int | int8 | int16 | int32 | int64 | float32 | float64 | byte
}

Directories

Path Synopsis
Package pipelines provides helper functions for constructing concurrent processing pipelines.
Package pipelines provides helper functions for constructing concurrent processing pipelines.
Package sets contains functions related to a generic Set implementation.
Package sets contains functions related to a generic Set implementation.

Jump to

Keyboard shortcuts

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