type Delta struct {
Type DeltaType `json:"kind"`
LineNrFrom int `json:"lineNrFrom"`
LineNrTarget int `json:"lineNrTarget"`
StartPosFrom int64 `json:"startPosFrom"`
StartPosTarget int64 `json:"startPosTarget"`
Text string `json:"text"`
}
DeltaType classifies a patch action like 'delete', 'equal' or 'insert'
const (
// Del represents a deleted patch chunk Del DeltaType = (iota - 1)
// Eq represents a not changed patch chunk Eq
// Ins represents a added patch chunk Ins
)