This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git

commit 25281bf920ca4be71d9e8088813261fd602ce7b5
Author: lihaowei <[email protected]>
AuthorDate: Sun Aug 9 14:12:22 2020 +0800

    add nolint
---
 protocol/dubbo/client.go | 2 +-
 protocol/dubbo/codec.go  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/protocol/dubbo/client.go b/protocol/dubbo/client.go
index 54752ee..253427f 100644
--- a/protocol/dubbo/client.go
+++ b/protocol/dubbo/client.go
@@ -193,7 +193,7 @@ type Response struct {
        atta  map[string]string
 }
 
-// NewResponse create a new Response.
+// nolint
 func NewResponse(reply interface{}, atta map[string]string) *Response {
        return &Response{
                reply: reply,
diff --git a/protocol/dubbo/codec.go b/protocol/dubbo/codec.go
index 8ba725e..9781c70 100644
--- a/protocol/dubbo/codec.go
+++ b/protocol/dubbo/codec.go
@@ -82,7 +82,7 @@ func (p *DubboPackage) Marshal() (*bytes.Buffer, error) {
        return bytes.NewBuffer(pkg), nil
 }
 
-// Unmarshal decode hessian package.
+// Unmarshal decodes hessian package.
 func (p *DubboPackage) Unmarshal(buf *bytes.Buffer, opts ...interface{}) error 
{
        // fix issue https://github.com/apache/dubbo-go/issues/380
        bufLen := buf.Len()

Reply via email to