Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPatch ¶
func JoinPatches ¶
JoinPatches joins array of serialized JSON patches to the single JSONPatch array It accepts patch operations and patches (arrays of patch operations) and returns a single combined patch.
func MarshalPatch ¶
Types ¶
type Patch ¶
type Patch struct { Path string `json:"path"` Op string `json:"op"` Value interface{} `json:"value,omitempty"` }
func UnmarshalPatch ¶
func (*Patch) ToPatchBytes ¶
Click to show internal directories.
Click to hide internal directories.