Versions in this module Expand all Collapse all v1 v1.0.0 May 19, 2023 Changes in this version + type AddOperation struct + Op string + Path string + Value interface{} + func (o *AddOperation) GetPath() string + func (o *AddOperation) MarshalJSON() ([]byte, error) + func (o *AddOperation) String() string + type PatchOperation interface + GetPath func() string + MarshalJSON func() ([]byte, error) + type PatchOperations []PatchOperation + func DiffStringMap(pathPrefix string, oldV, newV map[string]interface{}) PatchOperations + func (po PatchOperations) Equal(ops []PatchOperation) bool + func (po PatchOperations) MarshalJSON() ([]byte, error) + type RemoveOperation struct + Op string + Path string + func (o *RemoveOperation) GetPath() string + func (o *RemoveOperation) MarshalJSON() ([]byte, error) + func (o *RemoveOperation) String() string + type ReplaceOperation struct + Op string + Path string + Value interface{} + func (o *ReplaceOperation) GetPath() string + func (o *ReplaceOperation) MarshalJSON() ([]byte, error) + func (o *ReplaceOperation) String() string