Documentation
¶
Index ¶
Constants ¶
View Source
const ( DeltaDelete = 0 DeltaTextDiff = 2 DeltaMove = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TinyFormatter ¶
type TinyFormatter struct{}
func NewTinyFormatter ¶
func NewTinyFormatter() *TinyFormatter
func (*TinyFormatter) FormatArray ¶
func (f *TinyFormatter) FormatArray(deltas []diff.Delta) (deltaJson map[string]interface{}, err error)
func (*TinyFormatter) FormatObject ¶
func (f *TinyFormatter) FormatObject(deltas []diff.Delta) (deltaJson map[string]interface{}, err error)
Click to show internal directories.
Click to hide internal directories.