package
Version:
v1.1.7
Opens a new window with list of versions in this module.
Published: May 13, 2022
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
¶
func Of[T any](value T) *optstruct[T]
Of returns an optional struct with the given value.
func OfNilable[T any](value T) *optstruct[T]
OfNilable returns an optional struct with the given value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.