From 87f560f0acb7042ad9d0d069aa232bede24d3143 Mon Sep 17 00:00:00 2001 From: Anish Mukherjee Date: Thu, 8 Dec 2022 18:07:45 +0530 Subject: [PATCH] add function comment --- cli/functions/pretty_print.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/functions/pretty_print.go b/cli/functions/pretty_print.go index 180906c7..86658620 100644 --- a/cli/functions/pretty_print.go +++ b/cli/functions/pretty_print.go @@ -6,6 +6,7 @@ import ( "log" ) +// PrettyPrint - print JSON with indentation func PrettyPrint(data any) { body, err := json.MarshalIndent(data, "", " ") if err != nil {