Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTestFailed = evanJP.ErrTestFailed ErrMissing = evanJP.ErrMissing ErrUnknownType = evanJP.ErrUnknownType ErrInvalid = evanJP.ErrInvalid ErrInvalidIndex = evanJP.ErrInvalidIndex ErrBadJSONDoc = errors.New("invalid JSON document") ErrMarshalJSON = errors.New("JSON Marshal error") )
View Source
var NewOperation = jsonPatchConstructor.NewPatch //nolint:gochecknoglobals
Functions ¶
func Q ¶
Escaping some characters, corresponds to https://www.rfc-editor.org/rfc/rfc6901#section-3
Types ¶
type Operation ¶
type Operation = jsonPatchConstructor.JsonPatchOperation
----------------------------------------------------------------------------
type Patch ¶
type Patch []Operation // todo(SV): should not contains duplicate paths
func CreatePatch ¶ added in v0.0.27
func CreatePatchForJson ¶ added in v0.0.27
Click to show internal directories.
Click to hide internal directories.