Documentation
¶
Overview ¶
Package gildedsergigodiff provides implementations for github.com/Serjick/gon-gild-on/golden based on github.com/sergi/go-diff.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTextTemplateDiffMatchPatchPreSaveHook ¶
func NewTextTemplateDiffMatchPatchPreSaveHook() golden.PreSaveHook
NewTextTemplateDiffMatchPatchPreSaveHook is a pre save hook to transfer text/template actions from present golden file into new.
Types ¶
type TextTemplateDiffMatchPatch ¶
type TextTemplateDiffMatchPatch struct {
// contains filtered or unexported fields
}
TextTemplateDiffMatchPatch is a text/template actions transferrer from one string to another.
func NewTextTemplateDiffMatchPatch ¶
func NewTextTemplateDiffMatchPatch(d *diffmatchpatch.DiffMatchPatch, tf template.FuncMap) *TextTemplateDiffMatchPatch
Click to show internal directories.
Click to hide internal directories.