pair

package
v0.0.0-...-1dacd80 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0, MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pair

type Pair[F, S any] struct {
	First  F
	Second S
}

Pair provides a way to store two heterogeneous types as a single unit.

func New

func New[F, S any](first F, second S) Pair[F, S]

New creates a new Pair[F, S].

Jump to

Keyboard shortcuts

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