From e3575277ba2cb2df77276b54f0693ba621ef8bb5 Mon Sep 17 00:00:00 2001 From: RPRX <63339210+rprx@users.noreply.github.com> Date: Sat, 5 Dec 2020 00:36:16 +0000 Subject: [PATCH] bytes.Buffer -> strings.Builder --- main/commands/all/api/shared.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/commands/all/api/shared.go b/main/commands/all/api/shared.go index 73bd118f..27b441f1 100644 --- a/main/commands/all/api/shared.go +++ b/main/commands/all/api/shared.go @@ -109,7 +109,7 @@ func showResponese(m proto.Message) { if isNil(m) { return } - b := new(bytes.Buffer) + b := new(strings.Builder) e := json.NewEncoder(b) e.SetIndent("", " ") e.SetEscapeHTML(false)