Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lazy ¶
type Lazy[T any] struct { Resolve func(context.Context) (T, error) // contains filtered or unexported fields }
Lazy persistently stores a value in memory by evaluating the Resolve function when the value is accessed
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
func IgnoreCacheOption ¶
Click to show internal directories.
Click to hide internal directories.