package
Version:
v0.0.0-...-1dacd80
Opens a new window with list of versions in this module.
Published: Apr 15, 2022
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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[F, S any](first F, second S) Pair[F, S]
New creates a new Pair[F, S].
Source Files
¶
Click to show internal directories.
Click to hide internal directories.