Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(expected interface{}, actual interface{}) (e, a, diff string)
Diff returns a diff of both values as long as both are of the same type and are a struct, map, slice, array or string. Otherwise it returns an empty string.
func DiffWithLinePrefix ¶
func DiffWithLinePrefix(linePrefix string, expected interface{}, actual interface{}) (e, a, diff string)
DiffWithLinePrefix returns a diff of both values as long as both are of the same type and are a struct, map, slice, array or string. Otherwise it returns an empty string.
func EqualStringf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.