This commit is contained in:
Tnze
2022-11-16 23:32:33 +08:00
parent 59f946302b
commit 64667826d0
11 changed files with 22 additions and 21 deletions

View File

@ -113,7 +113,7 @@ func (m Message) MarshalJSON() ([]byte, error) {
}
}
//UnmarshalJSON decode json to Message
// UnmarshalJSON decode json to Message
func (m *Message) UnmarshalJSON(raw []byte) (err error) {
if len(raw) == 0 {
return io.EOF