package
Version:
v0.0.0-...-e864873
Opens a new window with list of versions in this module.
Published: Sep 7, 2025
License: MIT
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 Clamp(v, minv, maxv int) int
Clamp returns the value clamped between the min and max values.
IterPtrs returns an iterator of pointers to the given values.
Ptr returns a pointer to the given value.
func Ptrs[T any](v ...T) (out []*T)
Ptrs returns a slice of pointers to the given values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.