package
Version:
v0.0.0-...-c635e59
Opens a new window with list of versions in this module.
Published: May 20, 2024
License: Apache-2.0, BSD-2-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 61
Opens a new window with list of known importers.
Documentation
¶
func Apply[T any](obj *T, options []Option[T], optInitFunc ...func(instance *T)) (applied *T)
Apply applies the given options o the container object.
type Option[T any] func(*T)
Option is a generic type for an optional parameter according to the functional paradigm.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.