From 3a3512d94b34ee3cf8d330866db5d6165814813f Mon Sep 17 00:00:00 2001 From: wangjian Date: Fri, 13 Dec 2024 11:45:22 +0800 Subject: [PATCH] bug fix --- go.mod | 4 ++-- stream_decoder.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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