This commit is contained in:
wangjian 2024-12-13 11:45:22 +08:00
parent afc76d7d15
commit 3a3512d94b
2 changed files with 3 additions and 3 deletions

4
go.mod
View File

@ -1,8 +1,8 @@
module git.hpds.cc/Component/mq_coder module git.hpds.cc/Component/mq_coder
go 1.19 go 1.23
require github.com/stretchr/testify v1.8.0 require github.com/stretchr/testify v1.8.4
require ( require (
github.com/davecgh/go-spew v1.1.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect

View File

@ -9,7 +9,7 @@ import (
"git.hpds.cc/Component/mq_coder/encoding" "git.hpds.cc/Component/mq_coder/encoding"
) )
// StreamReader read an coder packet from io.Reader, and return // StreamReader read a coder packet from io.Reader, and return
// the ValReader after decode out Tag and Len // the ValReader after decode out Tag and Len
type StreamReader struct { type StreamReader struct {
src io.Reader src io.Reader