Versions in this module Expand all Collapse all v0 v0.3.2 May 24, 2025 Changes in this version + type Cache interface + Unwrap func() T + Valid func() bool + func NewCache[T any](value T, duration time.Duration) Cache[T] + type Option interface + IsNone func() bool + IsSome func() bool + Unwrap func() T + UnwrapOr func(defaultValue T) T + func None[T any]() Option[T] + func Some[T any](value T) Option[T]