[skip e2e]Add comment for payload (#13799)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/13806/head
shaoyue 2021-12-20 20:00:53 +08:00 committed by GitHub
parent af672d2883
commit 83a59d2545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ type PayloadReader struct {
colType schemapb.DataType
}
// NewPayloadWriter is constructor of PayloadWriter
func NewPayloadWriter(colType schemapb.DataType) (*PayloadWriter, error) {
w := C.NewPayloadWriter(C.int(colType))
if w == nil {