Versions in this module Expand all Collapse all v1 v1.2.0 Jul 24, 2024 v1.1.0 Sep 27, 2023 v1.0.1 Jul 17, 2023 Changes in this version + var Version string + type Block struct + Aitems []T + Bitems []T + Tag Tag + func (me *Block[T]) Items() []T + type BlockKeyFn struct + Aitems []T + Bitems []T + Tag Tag + func (me *BlockKeyFn[T]) Items() []T + type Diff struct + A []T + B []T + func New(a, b []T) *Diff[T] + func (me *Diff[T]) Blocks() []Block[T] + func (me *Diff[T]) Spans() []Span + type DiffKeyFn struct + A []T + B []T + func NewKeyFn(a, b []T, keyfn KeyFn[T]) *DiffKeyFn[T] + func (me *DiffKeyFn[T]) Blocks() []BlockKeyFn[T] + func (me *DiffKeyFn[T]) Spans() []Span + type KeyFn func(x T) string + type Quad struct + Aend int + Astart int + Bend int + Bstart int + type Span struct + Tag Tag + func (me Span) String() string + type Tag uint8 + const Delete + const Equal + const Insert + const Replace + func (me Tag) String() string