Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PartialUpdate ¶
func PartialUpdate[T any](to *T, new *T) *T
Applies all non-nil fields from new to to, thus creating a partial update
Note: PartialUpdate updates to as well in the process
As such, this function *modifies* the to object itself
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.