Update smtp.go #6
Annotations
7 errors
Lint:
connector/smtp/smtp.go#L41
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
connector/smtp/smtp_test.go#L7
import 'io/ioutil' is not allowed from list 'deprecated': The 'io/ioutil' package is deprecated. Use corresponding 'os' or 'io' functions instead. (depguard)
|
Lint:
connector/smtp/smtp.go#L33
naked return in func `Login` with 86 lines of code (nakedret)
|
Lint:
connector/smtp/smtp.go#L50
naked return in func `Login` with 86 lines of code (nakedret)
|
Lint:
connector/smtp/smtp.go#L55
naked return in func `Login` with 86 lines of code (nakedret)
|
Lint:
connector/smtp/smtp.go#L43
SA4006: this value of `p` is never used (staticcheck)
|
Lint
Process completed with exit code 2.
|
Loading