diff

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(expected, actual interface{}) bool

func ObjectDiff

func ObjectDiff(expected, actual interface{}) string

func SemanticallyEqual

func SemanticallyEqual(expected, actual interface{}) bool

func SetDiff

func SetDiff[T any](expected, actual SetLike[T]) string

func StringDiff

func StringDiff(expected, actual string) string

Types

type SetLike

type SetLike[T any] interface {
	List() []T
}

Jump to

Keyboard shortcuts

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