Documentation ¶
Overview ¶
Package diff provides utilities for comparing strings and slices to produce a readable diff output for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff[T comparable](want, got []T) string
Diff is a silly diff implementation that compares the provided slices and returns a diff of them.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.