From deefc6b24bf0e5db46e92a781a95058f1c37dc1d Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Sun, 10 May 2020 15:38:17 +0200 Subject: [PATCH] renamed function to Print --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 18f2eb0..9b720fe 100644 --- a/main.go +++ b/main.go @@ -7,8 +7,8 @@ import ( "github.com/TylerBrock/colorjson" ) -// PrettyPrint will beautify the output of -func PrettyPrint(body interface{}) { +// Print will beautify the output of +func Print(body interface{}) { b, err := json.Marshal(body) var obj map[string]interface{} //json.Unmarshal([]byte(body), &obj)