Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
Merger describes result of merge operation and provides
configuration. CopyNonexistent enables setting fields into the result
which only exist in the patch. Errors is slice of non-critical errors of merge operations Replaced is describe replacements
Key is path in document like
"prop1.prop2.prop3" for object properties or
"arr1.1.prop" for arrays
Value is value of replacemet Merge merges patch document to data document
Returning merged document. Result of merge operation can be
obtained from the Merger. Result information is discarded before
merging. MergeBytes merges patch document buffer to data document buffer
Returning merged document buffer, merge info and
error if any MergeBytesIndent merges patch document buffer to data document buffer
Use prefix and indent for set indentation like in json.MarshalIndent
Returning merged document buffer and error if any.(*Merger) mergeObjects(data, patch interface{}, path []string) interface{}(*Merger) mergeValue(path []string, patch map[string]interface{}, key string, value interface{}) interface{}
Package-Level Functions (only one, which is unexported)
The pages are generated with Goldsv0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.