Skip to content
Snippets Groups Projects
Commit 7c30fdcf authored by cvictory's avatar cvictory
Browse files

fix review issue

parent 7f9c7a47
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ func (*ApplicationConfig) Prefix() string {
return constant.DUBBO + ".application."
}
// ID ...
// nolint
func (c *ApplicationConfig) Id() string {
return ""
}
......
......@@ -64,7 +64,7 @@ func (p DubboPackage) String() string {
return fmt.Sprintf("DubboPackage: Header-%v, Path-%v, Body-%v", p.Header, p.Service, p.Body)
}
// Marshal ...
// nolint
func (p *DubboPackage) Marshal() (*bytes.Buffer, error) {
codec := hessian.NewHessianCodec(nil)
......@@ -76,7 +76,7 @@ func (p *DubboPackage) Marshal() (*bytes.Buffer, error) {
return bytes.NewBuffer(pkg), nil
}
// Unmarshal ...
// nolint
func (p *DubboPackage) Unmarshal(buf *bytes.Buffer, resp *remoting.Response) error {
// fix issue https://github.com/apache/dubbo-go/issues/380
bufLen := buf.Len()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment