message: implement "packet" directly in Message type #131
Annotations
6 errors and 1 warning
lint:
vici/client_conn.go#L77
typeSwitchVar: 2 cases can benefit from type switch with assignment (gocritic)
|
lint:
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)
|
lint:
vici/message.go#L611
unnecessary leading newline (whitespace)
|
lint:
vici/client_conn.go#L79
S1034(related information): could eliminate this type assertion (gosimple)
|
lint:
vici/client_conn.go#L81
S1034(related information): could eliminate this type assertion (gosimple)
|
lint
issues found
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/govici/govici. Supported file pattern: go.sum
|