diff --git a/go.mod b/go.mod index b7557c7..1832469 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ 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 ( github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/stream_decoder.go b/stream_decoder.go index 427bc31..20a1cfa 100644 --- a/stream_decoder.go +++ b/stream_decoder.go @@ -9,7 +9,7 @@ import ( "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 type StreamReader struct { src io.Reader