text

package
v0.48.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(actual, expected File, context int) string

func DiffColorized

func DiffColorized(actual, expected File, context int) string

Types

type DiffFunc

type DiffFunc func(actual, expected File, context int) string

type File

type File struct {
	Name    string
	Content string
}

Jump to

Keyboard shortcuts

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