log conditionally when not a zap.Logger #150
Annotations
3 errors and 5 warnings
lint:
zap.go#L117
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
zap.go#L170
directive `// nolint: errcheck` should be written without leading space as `//nolint: errcheck` (nolintlint)
|
lint
issues found
|
ubuntu-latest @ Go 1.19
Restore cache failed: Dependencies file is not found in /home/runner/work/zap/zap. Supported file pattern: go.sum
|
ubuntu-latest @ Go 1.22
Restore cache failed: Dependencies file is not found in /home/runner/work/zap/zap. Supported file pattern: go.sum
|
ubuntu-latest @ Go 1.20
Restore cache failed: Dependencies file is not found in /home/runner/work/zap/zap. Supported file pattern: go.sum
|
ubuntu-latest @ Go 1.21
Restore cache failed: Dependencies file is not found in /home/runner/work/zap/zap. Supported file pattern: go.sum
|
macos-latest @ Go
Restore cache failed: Dependencies file is not found in /Users/runner/work/zap/zap. Supported file pattern: go.sum
|