applychanges

package
v0.0.0-...-0327eaa Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyChanges

func ApplyChanges(changes map[string]interface{}, to interface{}) error

ApplyChanges applies arbitrary changes from a map to a struct. Any field not mentioned in the changes object will remain the same Code largely copied from GQLGen's docs on changesets https://gqlgen.com/reference/changesets/

Types

This section is empty.

Jump to

Keyboard shortcuts

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