Source File
	format.go
Belonging Package
	gotest.tools/v3/internal/format
package format // import "gotest.tools/v3/internal/format"import// Message accepts a msgAndArgs varargs and formats it using fmt.Sprintffunc ( ...interface{}) string {switch len() {case 0:return ""case 1:return fmt.Sprintf("%v", [0])default:return fmt.Sprintf([0].(string), [1:]...)}}// WithCustomMessage accepts one or two messages and formats them appropriatelyfunc ( string, ...interface{}) string {:= Message(...)switch {case == "":returncase == "":return}return fmt.Sprintf("%s: %s", , )}
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)