Skip to content

Refactor getter functions #917

Refactor getter functions

Refactor getter functions #917

Triggered via pull request November 19, 2023 14:47
Status Failure
Total duration 1m 20s
Artifacts

test.yaml

on: pull_request
Test GatewayD Plugins
0s
Test GatewayD Plugins
Fit to window
Zoom out
Zoom in

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)