package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Aug 29, 2026
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Identity[T any](v T) T
func Map[T, U any](xs []T, f func(T) U) []U
type Box[T any] struct {
Value T
}
Box stores a value of any type.
type Combiner[T, U any] interface {
Combine(T, U) T
}
type Integer interface {
~int | ~int64
}
type Pair[A, B any] struct {
First A
Second B
}
func (p Pair[A, B]) FirstValue() A
type Reader interface {
Read() string
}
type Record struct {
Name string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.