ipn/warp: amnezia gateway registration #985
Annotations
19 errors and 10 warnings
π‘ Staticheck:
intra/ipn/wg/wgconn.go#L298
this comparison is always true (SA4023)
|
π‘ Staticheck:
intra/ipn/wg/wgconn.go#L275
the lhs of the comparison gets its value from here and has a concrete type
|
π‘ Staticheck:
intra/ipn/wg/wgconn.go#L302
this comparison is always true (SA4023)
|
π‘ Staticheck:
intra/ipn/wg/wgconn.go#L283
the lhs of the comparison gets its value from here and has a concrete type
|
π‘ Staticheck:
intra/ipn/wg/wgconn.go#L307
this comparison is always true (SA4023)
|
π‘ Staticheck:
intra/ipn/wg/wgconn.go#L275
the lhs of the comparison gets its value from here and has a concrete type
|
π‘ Staticheck:
intra/ipn/wg/wgconn.go#L307
this comparison is always true (SA4023)
|
π‘ Staticheck:
intra/ipn/wg/wgconn.go#L283
the lhs of the comparison gets its value from here and has a concrete type
|
π‘ Staticheck
Process completed with exit code 1.
|
π
Lint:
intra/bootstrap.go#L178
Error return value of `prev.Stop` is not checked (errcheck)
|
π
Lint:
intra/dialers/direct_split.go#L31
`strat` is a misspelling of `start` (misspell)
|
π
Lint:
intra/dialers/retrier.go#L154
`strat` is a misspelling of `start` (misspell)
|
π
Lint:
intra/dialers/retrier.go#L155
`Strat` is a misspelling of `Start` (misspell)
|
π
Lint:
intra/dialers/retrier.go#L157
`Strat` is a misspelling of `Start` (misspell)
|
π
Lint:
intra/dialers/retrier.go#L177
`strat` is a misspelling of `start` (misspell)
|
π
Lint:
intra/dialers/retrier.go#L183
`strat` is a misspelling of `start` (misspell)
|
π
Lint:
intra/dialers/retrier.go#L187
`strat` is a misspelling of `start` (misspell)
|
π
Lint:
intra/dialers/retrier.go#L189
`strat` is a misspelling of `start` (misspell)
|
π
Lint:
intra/dialers/retrier.go#L191
`strat` is a misspelling of `start` (misspell)
|
π
Lint:
intra/backend/core_iptree.go#L7
package-comments: should have a package comment (revive)
|
π
Lint:
intra/backend/core_iptree.go#L22
var-naming: type IpTree should be IPTree (revive)
|
π
Lint:
intra/backend/core_iptree.go#L67
exported: exported const Vsep should have comment (or a comment on this block) or be unexported (revive)
|
π
Lint:
intra/backend/core_iptree.go#L78
var-naming: func NewIpTree should be NewIPTree (revive)
|
π
Lint:
intra/backend/core_iptree.go#L97
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:
intra/backend/core_iptree.go#L147
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:
intra/backend/core_iptree.go#L232
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:
intra/backend/core_iptree.go#L280
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
π
Lint:
intra/backend/core_iptree.go#L299
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
|
π
Lint:
intra/backend/core_iptree.go#L340
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)
|
Loading