mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 19:33:32 +02:00
bytes.Buffer -> strings.Builder
This commit is contained in:
parent
7ca55add04
commit
e3575277ba
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue