package
Version:
v0.51.0
Opens a new window with list of versions in this module.
Published: Dec 1, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func PrettyFormat(v interface{}) string
PrettyFormat formats any objects for test debug use.
type TestData struct {
FilePath string
OriginData []byte
}
TestData is a wrapped test file.
NewTestData create a new TestData.
Restore writes the original content back to the file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.