Documentation
¶
Index ¶
- func AssertEqual[T any](t *testing.T, expected, actual T)
- func ConvolutedFormatReflectType(s reflect.Type) string
- func ConvolutedFormatReflectValue(s reflect.Value) any
- func SingleLineStringDiff(want string, got string) string
- func TypedDiff[T any](want T, got T) string
- func TypedDiffExportedOnly[T any](want T, got T) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
func ConvolutedFormatReflectType ¶
FormatStructString takes a string containing a Go struct definition and formats it for better readability
func SingleLineStringDiff ¶
func TypedDiffExportedOnly ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.