package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Sep 10, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
Apply given opts.
Any of aopts must not be nil.
In case of error on any position, opts execution will be stopped.
type Option[T any] func(target *T) error
Realization of functional option pattern
Source Files
¶
Click to show internal directories.
Click to hide internal directories.