nsq
nsq copied to clipboard
protocol.go SendResponse return format
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