Refactor getter functions #917
test.yaml
on: pull_request
Test GatewayD
1m 10s
Test GatewayD Plugins
0s
Annotations
3 errors and 2 warnings
Test GatewayD:
config/constants.go#L149
Comment should end in a period (godot)
|
Test GatewayD:
network/client.go#L418
type assertion must be checked (forcetypeassert)
|
Test GatewayD
issues found
|
Test GatewayD:
config/utils.go#L12
var-naming: don't use underscores in Go names; func parameter map_ should be map (revive)
|
Test GatewayD:
network/client.go#L417
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)
|