package format
Import Path
gotest.tools/v3/internal/format (on go.dev)
Dependency Relation
imports 5 packages, and imported by 2 packages
Involved Source Files
Package format provides utilities for formatting diffs and messages.
format.go
Package-Level Type Names (only one, which is exported)
Package-Level Functions (total 10, in which 3 are exported)
Message accepts a msgAndArgs varargs and formats it using fmt.Sprintf
UnifiedDiff is a modified version of difflib.WriteUnifiedDiff with better
support for showing the whitespace differences.
WithCustomMessage accepts one or two messages and formats them appropriately
Package-Level Constants (only one, which is unexported)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)