package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Mar 8, 2026
License: MIT
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 Nullable[T any] struct {
Set bool
Null bool
Value T
}
Nullable represents patch semantics with explicit NULL support.
Null marks value as explicitly set to SQL NULL.
SomeNullable marks value as explicitly set to non-null payload.
Unset marks value as absent.
type Value[T any] struct {
Set bool
Value T
}
Value represents explicit optional value semantics:
set=true means field is present even when inner value is zero.
None marks value as absent.
Some marks value as explicitly set.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.