package
Version:
v1.51.1
Opens a new window with list of versions in this module.
Published: Nov 5, 2024
License: GPL-3.0
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
¶
func ApplyAll[T any](t *T, opts ...Option[T])
ApplyAll takes a pointer to type T and it passes it onto each supplied Option
function in the supplied order.
type Option[T any] func(*T)
Option is any function which receives a pointer to any type T.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.