Esempio n. 1
0
// SdumpExpr dumps goon expressions to a string.
func SdumpExpr(a ...interface{}) string {
	return string(bdumpNamed(gist6418290.GetParentArgExprAllAsString(), a...))
}
Esempio n. 2
0
// FdumpExpr dumps goon expressions to a writer.
func FdumpExpr(w io.Writer, a ...interface{}) (n int, err error) {
	return w.Write(bdumpNamed(gist6418290.GetParentArgExprAllAsString(), a...))
}
Esempio n. 3
0
// DumpExpr dumps goon expressions to stdout.
//
// E.g.,
//	somethingImportant := 5
//	DumpExpr(somethingImportant)
//
// Will print:
//	somethingImportant = (int)(5)
func DumpExpr(a ...interface{}) (n int, err error) {
	return os.Stdout.Write(bdumpNamed(gist6418290.GetParentArgExprAllAsString(), a...))
}