0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 11:29:36 +03:00

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

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)