Versions in this module Expand all Collapse all v1 v1.0.0 Sep 23, 2026 Changes in this version + func Patch(text1, text2 string, checklines bool) []diffmatchpatch.Patch + func PatchApply(text string, patch []diffmatchpatch.Patch) (string, []bool) + func PatchApplyString(text string, patch string) (string, []bool, error) + func PatchFrom(text string) ([]diffmatchpatch.Patch, error) + func PatchString(text1, text2 string, checklines bool) string + func ProcessPatch(p *process.Process) interface + func ProcessPatchApply(p *process.Process) interface + func ProcessReplace(p *process.Process) interface + func Replace(text string, patch string) (string, error) + type ReplacePatch struct + Replace string + Search string