Run as root #2
Annotations
9 errors and 1 warning
Run golangci-lint:
main.go#L68
use of `http.Handle` forbidden by pattern `^http\.Handle(?:Func)?$` (forbidigo)
|
Run golangci-lint:
main.go#L92
unnamedResult: consider giving a name to these results (gocritic)
|
Run golangci-lint:
main.go#L57
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(label, ".", "_", -1)` (gocritic)
|
Run golangci-lint:
main_test.go#L51
unnamedResult: consider giving a name to these results (gocritic)
|
Run golangci-lint:
main.go#L69
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
Run golangci-lint:
main.go#L114
S1021: should merge variable declaration with assignment on next line (gosimple)
|
Run golangci-lint:
main_test.go#L36
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Run golangci-lint:
main_test.go#L43
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Run golangci-lint
issues found
|
Set up Go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading