package
Version:
v1.18.2
Opens a new window with list of versions in this module.
Published: Sep 19, 2024
License: 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[L, R any] struct {
Left L
Right R
}
func NewPair[L, R any](l L, r R) *Pair[L, R]
func (p *Pair[L, R]) GetLeft() L
func (p *Pair[L, R]) GetRight() R
Source Files
¶
Click to show internal directories.
Click to hide internal directories.