diff

package
v0.0.0-...-197c200 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual[T any](t *testing.T, expected, actual T)

func ConvolutedFormatReflectType

func ConvolutedFormatReflectType(s reflect.Type) string

FormatStructString takes a string containing a Go struct definition and formats it for better readability

func ConvolutedFormatReflectValue

func ConvolutedFormatReflectValue(s reflect.Value) any

func SingleLineStringDiff

func SingleLineStringDiff(want string, got string) string

func TypedDiff

func TypedDiff[T any](want T, got T) string

func TypedDiffExportedOnly

func TypedDiffExportedOnly[T any](want T, got T) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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