From 45bfc16e7c6af7bb9a7aedea969f22b404b64d79 Mon Sep 17 00:00:00 2001 From: celogeek <65178+celogeek@users.noreply.github.com> Date: Wed, 5 Jan 2022 09:39:08 +0100 Subject: [PATCH] fix dump doc --- internal/debug/dump.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, "", " ")