Skip to content

Commit af4ec88

Browse files
committed
update:readme
1 parent 6a442f0 commit af4ec88

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -526,12 +526,7 @@ func (u User) ChatResp() interface{} {
526526
UID: u.UID,
527527
Name: u.Name,
528528
}
529-
jsonStr, err := json.Marshal(chat) //json-filter解析要比官方的json解析慢。
530-
if err!=nil {
531-
panic(err)
532-
}
533-
534-
return string(jsonStr)
529+
return chat
535530
}
536531
```
537532

0 commit comments

Comments
 (0)