package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: May 24, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Cache[T any] interface {
Valid() bool
Unwrap() T
}
type Option[T any] interface {
Unwrap() T
UnwrapOr(defaultValue T) T
IsSome() bool
IsNone() bool
}
None creates a new Option without a value.
Some creates a new Option with a value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.