package
Version:
v0.1.12
Opens a new window with list of versions in this module.
Published: Oct 12, 2025
License: Apache-2.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
¶
Package funcopt provides Functional Option Pattern helpers.
Apply applies a slice of functional options to the given parameters.
New creates a functional option.
NewFailable creates a functional option that can fail.
type Option[T any] func(params *T) error
Option represents a configuration option for functional option.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.