Merge pull request #227 from stader-labs/update_scripts #380
Annotations
10 errors
Golangci-lint:
shared/utils/net/http.go#L45
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
|
Golangci-lint:
shared/utils/net/net.go#L28
paramTypeCombine: func(host string, port string) string could be replaced with func(host, port string) string (gocritic)
|
Golangci-lint:
shared/utils/net/http.go#L11
var-naming: func parameter requestUrl should be requestURL (revive)
|
Golangci-lint:
shared/utils/net/http.go#L33
var-naming: func parameter requestUrl should be requestURL (revive)
|
Golangci-lint:
shared/utils/net/net.go#L29
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
|
Golangci-lint:
shared/utils/net/http.go#L52
only one cuddle assignment allowed before if statement (wsl)
|
Golangci-lint:
shared/utils/net/http.go#L26
only one cuddle assignment allowed before if statement (wsl)
|
Golangci-lint:
shared/utils/net/http.go#L36
only one cuddle assignment allowed before if statement (wsl)
|
Golangci-lint:
shared/utils/net/net.go#L32
return statements should not be cuddled if block has more than two lines (wsl)
|
Golangci-lint:
shared/utils/hex/hex.go#L31
return statements should not be cuddled if block has more than two lines (wsl)
|
Loading