package
Version:
v0.0.0-...-31bcc22
Opens a new window with list of versions in this module.
Published: Feb 20, 2018
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Patch is the spec for a json-patch operation : http://jsonpatch.com/
New returns a new Patch list
Add creats and adds an item to the patch
type PatchItem struct {
Op string `json:"op"`
Path string `json:"path"`
Value interface{} `json:"value"`
}
PatchItem is a single item in Patch
NewItem returns a new Patch item
Source Files
¶
Click to show internal directories.
Click to hide internal directories.