bytes.Buffer -> strings.Builder

This commit is contained in:
RPRX 2020-12-05 00:36:16 +00:00 committed by GitHub
parent 7ca55add04
commit e3575277ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)