patch

package
v0.8.43 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyPatches

func ApplyPatches(data map[string]interface{}, patches []Patch) (map[string]interface{}, error)

ApplyPatches applies multiple patches to a map

Types

type Patch

type Patch struct {
	Path  []string    `json:"path"`
	Value interface{} `json:"value"`
}

Patch represents a single path/value operation

Jump to

Keyboard shortcuts

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