package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Jan 10, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Merge(prev interface{}, diff interface{}) (interface{}, error)
Merge merges an update diff into the previous version of a JSON object,
and returns the updated version.
It effectively reverses the diff algorithm implemented in package diff.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.