package
Version:
v0.1.11
Opens a new window with list of versions in this module.
Published: Oct 3, 2023
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: 1
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.