Skip to content

Commit 6b9b6ae

Browse files
committed
Update json.go
1 parent 9a23454 commit 6b9b6ae

File tree

1 file changed

+1
-3
lines changed
  • 第一季 从零开始写游戏服务器 第二期/最新课节--课程代码/vender/src/LollipopGo/LollipopGo/network/json

1 file changed

+1
-3
lines changed

第一季 从零开始写游戏服务器 第二期/最新课节--课程代码/vender/src/LollipopGo/LollipopGo/network/json/json.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ import (
77
"reflect"
88
)
99

10-
// 消息的管理
11-
12-
// 反序列化操作
10+
// 反序列化操作 -- 数据操作 性能提升操作
1311
func (p *Processor) Unmarshal(data []byte) (interface{}, error) {
1412
var m map[string]json.RawMessage
1513
err := json.Unmarshal(data, &m)

0 commit comments

Comments
 (0)