[skip e2e] Check the syntax of chap04_message_stream (#14651)

Signed-off-by: min.tian <min.tian.cn@gmail.com>
This commit is contained in:
min.tian 2021-12-31 14:16:12 +08:00 committed by GitHub
parent 106387fb03
commit bde6ee43c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ type RepackFunc func(msgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, erro
// Interface
type UnmarshalFunc func(interface{}) (TsMsg, error)
// UnmarshalDispatcher is an interface contains method Unmarshal
// UnmarshalDispatcher is an interface that contains method Unmarshal
type UnmarshalDispatcher interface {
Unmarshal(input interface{}, msgType commonpb.MsgType) (TsMsg, error)
AddMsgTemplate(msgType commonpb.MsgType, unmarshalFunc UnmarshalFunc)