Addressed comments. #49
Annotations
7 errors and 1 warning
golangci-lint:
tools/mtypes/main.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
tools/mtypes/main.go#L26
var-naming: don't use underscores in Go names; var metricType_NATIVE_HISTOGRAM should be metricTypeNATIVEHISTOGRAM (revive)
|
golangci-lint:
tools/mtypes/main.go#L50
exitAfterDefer: log.Fatalf will exit, and `defer resp.Body.Close()` will not run (gocritic)
|
golangci-lint:
tools/mtypes/main.go#L75
assignOp: replace `adjustedGoal = adjustedGoal / 10.0` with `adjustedGoal /= 10.0` (gocritic)
|
golangci-lint:
tools/mtypes/main.go#L125
unnecessary trailing newline (whitespace)
|
golangci-lint:
tools/mtypes/main.go#L169
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint
issues found
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/prombenchy/prombenchy. Supported file pattern: go.sum
|