message: implement "packet" directly in Message type #130
Annotations
6 errors and 1 warning
vici/client_conn.go#L77
typeSwitchVar: 2 cases can benefit from type switch with assignment (gocritic)
|
vici/message.go#L470
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
vici/message.go#L611
unnecessary leading newline (whitespace)
|
vici/client_conn.go#L79
S1034(related information): could eliminate this type assertion (gosimple)
|
vici/client_conn.go#L81
S1034(related information): could eliminate this type assertion (gosimple)
|
|
|
This job failed
Loading