package diff

Import Path
	github.com/andreyvit/diff (on go.dev)

Dependency Relation
	imports 3 packages, and imported by one package

Involved Source Files diff.go diff provides quick and easy string diffing functions based on github.com/sergi/go-diff, mainly for diffing strings in tests trim.go
Package-Level Type Names (only one, which is unexported)
/* sort exporteds by: | */
Package-Level Functions (total 8, in which 5 are exported)
CharacterDiff returns an inline diff between the two strings, using (++added++) and (~~deleted~~) markup.
LineDiff returns a normal linewise diff between the two given strings.
LineDiffAsLines returns the lines of a linewise diff between the two given strings.
TrimLines applies TrimSpace to each string in the given array.
TrimLinesInString applies TrimSpace to each line in the given string, and returns the new trimmed string. Empty lines are not removed.