mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-22 05:06:07 +03:00
bytes.Buffer -> strings.Builder
This commit is contained in:
parent
7ca55add04
commit
e3575277ba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user