package
Version:
v1.3.1
Opens a new window with list of versions in this module.
Published: Oct 31, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package parameterdefaults manages lazily initialized default providers.
type Lazy[T interface{ ClearCache() }] struct {
}
Lazy initializes one provider, retries failed initialization, and supports cancellation while waiting.
func New[T interface{ ClearCache() }]() *Lazy[T]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.