patch

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package patch provides a simple wrapper around the strategic merge patch

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrategicMerge

func StrategicMerge[T any](original, patch T) (result T, err error)

StrategicMerge is a wrapper around the StrategicMergePatch function that takes in a generic type and returns a generic type.

func StrategicMergePatch

func StrategicMergePatch[T any](original T, patchData []byte) (result T, err error)

StrategicMergePatch is a wrapper around the strategicpatch.StrategicMergePatch function that takes in a generic type and returns a generic type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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