✨ v3 (feature): client refactor #5118
Annotations
10 errors and 10 warnings
lint:
client/client.go#L9
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
client/client.go#L17
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
client/client.go#L18
File is not `goimports`-ed (goimports)
|
lint:
client/client.go#L212
Error return value of `file.Close` is not checked (errcheck)
|
lint:
client/client.go#L573
found a struct that contains a context.Context field (containedctx)
|
lint:
client/client.go#L694
type assertion must be checked (forcetypeassert)
|
lint:
client/client_test.go#L16
File is not `goimports`-ed (goimports)
|
lint:
client/client_test.go#L500
Error return value of `c.Write` is not checked (errcheck)
|
lint:
client/client_test.go#L501
Error return value of `c.Write` is not checked (errcheck)
|
lint:
client/client_test.go#L832
Error return value of `c.WriteString` is not checked (errcheck)
|
lint:
client/client.go#L44
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
client/client.go#L46
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
client/client.go#L48
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
client/client.go#L61
var-naming: struct field baseUrl should be baseURL (revive)
|
lint:
client/client.go#L241
var-naming: var pUrl should be pURL (revive)
|
lint:
client/client.go#L271
import-shadowing: The name 'url' shadows an import name (revive)
|
lint:
client/client.go#L499
import-shadowing: The name 'url' shadows an import name (revive)
|
lint:
client/client.go#L507
import-shadowing: The name 'url' shadows an import name (revive)
|
lint:
client/cookiejar.go#L49
confusing-naming: Method 'get' differs only by capitalization to method 'Get' in the same source file (revive)
|
lint:
client/cookiejar.go#L122
confusing-naming: Method 'set' differs only by capitalization to method 'Set' in the same source file (revive)
|