package
Version:
v0.0.0-...-53a6fda
Opens a new window with list of versions in this module.
Published: Aug 6, 2024
License: BSD-2-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Type[T any] struct {
Value T
Valid bool
}
Type can contain a nil value.
Any creates a new Type with the given value.
Int creates a new NullableType with the given int value.
func (t *Type[T]) ValuePtr() *T
ValuePtr returns a pointer to the value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.