step

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Step

type Step int

Step indicates a step in the Levenshtein Path.

const (
	// Equal indicates A and B entries are equal.
	Equal Step = iota

	// Added indicates A was added.
	// Meaning the value is in A but not in B so advance A.
	Added

	// Removed indicates A was removed.
	// Meaning the value is in B but not in A so advance B.
	Removed
)

func (Step) String

func (s Step) String() string

String gets the string for step type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL