pair

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pair

type Pair[T1, T2 any] struct {
	First  T1
	Second T2
}

Pair contains two values like c++ std::pair

func Make

func Make[T1, T2 any](first T1, second T2) Pair[T1, T2]

Make creates a pair by values

Jump to

Keyboard shortcuts

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