Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Xact ¶
type Xact[T any] struct { // contains filtered or unexported fields }
Xact represents a single in-memory transaction, to aid with separating calculations from their application.
func New ¶
New returns a new transaction object (called Xact) operating on the given pointer
NOTE: Any copying is shallow -- if T contains pointers, any changes to the values behind those will NOT be delayed until (*Xact[T]).Commit().
Click to show internal directories.
Click to hide internal directories.