diff --git a/internal/debug/dump.go b/internal/debug/dump.go index 54435d1..c8f8520 100644 --- a/internal/debug/dump.go +++ b/internal/debug/dump.go @@ -1,7 +1,7 @@ /* Debug tools - debug.Dump(myStruct) + fmt.Println(debug.Dump(myStruct)) */ package debug @@ -10,7 +10,7 @@ import ( ) /* - Dump an interface to the stdout + Dump an interface into a json string format */ func Dump(v interface{}) string { result, err := json.MarshalIndent(v, "", " ")