nsq icon indicating copy to clipboard operation
nsq copied to clipboard

protocol.go SendResponse return format

Open CmderQ opened this issue 2 years ago • 0 comments

hi, I open nsq code by Goland;When review file app/internal/protocol/protocol.go, The SendResponse(w io.Writer, data []byte) function end line, code: return (n + 4), nil It alter:Unwrap parentheses Click, refactor the code:return (n + 4), nil

CmderQ avatar Jun 26 '22 08:06 CmderQ