diff

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL