Documentation
¶
Overview ¶
Package pair provides a generic Pair type for holding two values of any types.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pair ¶
type Pair[T1, T2 any] struct { First T1 Second T2 }
Pair represents a tuple of two values of potentially different types.
Click to show internal directories.
Click to hide internal directories.