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
¶
Package fixture demonstrates documentation extraction.
func Identity[T any](v T) T
Identity returns its argument.
type Box[T any] struct {
Value T
}
Box stores one value.
Get returns the stored value.
type Pair[A, B any] struct {
First A
Second B
}
Pair contains two values.
func NewPair[A, B any](a A, b B) Pair[A, B]
NewPair constructs a Pair.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.