package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Aug 3, 2022
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 Either[T any, U any] struct {
}
func (of *Either[T, U]) GetLeft() (out T, ok bool)
func (of *Either[T, U]) GetRight() (out U, ok bool)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.