Add Go wrappers for Get/SetVirtualDiskInformation win32 APIs #372
Annotations
3 errors and 11 warnings
|
Run golangci-lint
issues found
|
|
Run golangci-lint:
wim/lzx/lzx.go#L103
directive `//nolint:errorlint` is unused for linter "errorlint" (nolintlint)
|
|
Run golangci-lint:
hvsock_test.go#L635
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
|
|
Post Run golangci-lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0WCrxaAAAAAASHb2s7BATR7aufWbUyeXXQ0hJMzBFREdFMDQyMgBFZGdl
|
|
Run golangci-lint:
pkg/bindfilter/bind_filter.go#L188
use-errors-new: replace fmt.Errorf by errors.New (revive)
|
|
Run golangci-lint:
pkg/bindfilter/bind_filter.go#L112
use-errors-new: replace fmt.Errorf by errors.New (revive)
|
|
Run golangci-lint:
pkg/bindfilter/bind_filter.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
pkg/bindfilter/bind_filter_test.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
wim/validate/main_windows.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
wim/decompress.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
wim/wim.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Run golangci-lint:
wim/lzx/lzx.go#L160
redefines-builtin-id: redefinition of the built-in function max (revive)
|
|
Run golangci-lint:
wim/lzx/lzx.go#L156
redefines-builtin-id: redefinition of the built-in function max (revive)
|
|
Run golangci-lint
Failed to restore: Cache service responded with 400
|
Loading