Documentation
¶
Index ¶
- func ConvolutedFormatReflectType(s reflect.Type) string
- func ConvolutedFormatReflectValue(s reflect.Value) any
- func RequireKnownValueEqual[T any](t *testing.T, want, got T)
- func RequireUnknownTypeEqual(t *testing.T, want, got reflect.Type)
- func RequireUnknownValueEqualAsJSON(t *testing.T, want, got reflect.Value)
- func SingleLineStringDiff(want string, got string) string
- func Strip(str 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 ConvolutedFormatReflectType ¶
FormatStructString takes a string containing a Go struct definition and formats it for better readability
func RequireKnownValueEqual ¶
func SingleLineStringDiff ¶
func TypedDiffExportedOnly ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.