Versions in this module Expand all Collapse all v0 v0.3.0 Sep 28, 2026 Changes in this version + const KindRichText + const KindRow + const RichTextMarker + var DefaultIgnoreKeys = []string + func ApplyPatch(current, body map[string]any, opts Options) map[string]any + func Equal(a, b any) bool + func JoinIndex(path string, i int) string + func JoinKey(path, key string) string + func RootField(path string) string + type Change struct + BlockType string + Detail string + From any + FromIndex *int + FromText *string + ID any + Kind string + Op Op + Path string + To any + ToIndex *int + ToText *string + func (c Change) MarshalJSON() ([]byte, error) + type Op string + const OpAdd + const OpChange + const OpMove + const OpRemove + type Options struct + Full bool + IgnoreKeys []string + IgnorePaths []string + IncludeTimestamps bool + LeafPaths []string + NullDistinct bool + type Result struct + Changes []Change + Identical bool + Summary Summary + func Diff(left, right any, opts Options) Result + func DiffPatch(current, body map[string]any, opts Options) Result + type Summary struct + Added int + Changed int + Fields []string + Moved int + Removed int + RichText int + Total int