Merge pull request #194 from victorelec14/patch-1 #314
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#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/http.go#L52
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:
stader-lib/pool-utils/pool-utils.go#L1
var-naming: don't use an underscore in package name (revive)
|
Loading