Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareWithGolden ¶
CompareWithGolden compares generated content with a golden file. It handles goimports formatting, diffing, and updating the golden file. testdataDir should be the path to the directory containing the golden files. updateFlag should be the value of the -update command-line flag.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.