Report for github.com/rancher/wins

A    Great!    Found 73 issues across 64 files

Tweet

gofmt95%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo96%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


golint48%

Golint is a linter for Go source code.

    • wins/pkg/apis/api.go
    • Line 20: warning: exported type Server should have comment or be unexported (golint)
    • Line 31: warning: exported method Server.Close should have comment or be unexported (golint)
    • Line 36: warning: exported method Server.Serve should have comment or be unexported (golint)
    • Line 64: warning: exported function NewServer should have comment or be unexported (golint)
    • wins/pkg/paths/directory.go
    • Line 10: warning: exported function IncludeFiles should have comment or be unexported (golint)
    • Line 25: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 36: warning: exported function EnsureDirectory should have comment or be unexported (golint)
    • wins/pkg/converters/binary.go
    • Line 8: warning: exported function Inet_ntoa should have comment or be unexported (golint)
    • Line 8: warning: don't use underscores in Go names; func Inet_ntoa should be InetNtoa (golint)
    • Line 20: warning: exported function Inet_aton should have comment or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; func Inet_aton should be InetAton (golint)
    • wins/cmd/grpcs/log.go
    • Line 17: warning: exported function LogrusStreamServerInterceptor should have comment or be unexported (golint)
    • Line 34: warning: exported function LogrusUnaryServerInterceptor should have comment or be unexported (golint)
    • wins/cmd/cmds/tools.go
    • Line 7: warning: exported function JoinFlags should have comment or be unexported (golint)
    • Line 15: warning: exported function ChainFuncs should have comment or be unexported (golint)
    • wins/pkg/logs/etw.go
    • Line 110: warning: exported function NewEventLogHook should have comment or be unexported (golint)
    • Line 125: warning: exported function NewEtwProviderHook should have comment or be unexported (golint)
    • wins/pkg/paths/file.go
    • Line 15: warning: exported function GetFileSHA1Hash should have comment or be unexported (golint)
    • Line 40: warning: exported function MoveFile should have comment or be unexported (golint)
    • Line 74: warning: exported type WatchHandle should have comment or be unexported (golint)
    • Line 76: warning: exported function Watch should have comment or be unexported (golint)
    • wins/pkg/syscalls/route.go
    • Line 9: warning: comment on exported const MIB_IPROUTE_TYPE_OTHER should be of the form "MIB_IPROUTE_TYPE_OTHER ..." (golint)
    • Line 11: warning: exported const MIB_IPROUTE_TYPE_INVALID should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: comment on exported type IpForwardTable should be of the form "IpForwardTable ..." (with optional leading article) (golint)
    • Line 33: warning: comment on exported type IpForwardRow should be of the form "IpForwardRow ..." (with optional leading article) (golint)
    • Line 73: warning: exported function GetIpForwardTable should have comment or be unexported (golint)
    • Line 87: warning: exported function CreateIpForwardEntry should have comment or be unexported (golint)
    • wins/pkg/converters/error_ignore.go
    • Line 10: warning: exported function GetIntFormJson should have comment or be unexported (golint)
    • Line 15: warning: exported function GetIntStringFormJson should have comment or be unexported (golint)
    • Line 19: warning: exported function GetStringFormJson should have comment or be unexported (golint)
    • Line 24: warning: exported function GetIntFromRegistryKey should have comment or be unexported (golint)
    • Line 29: warning: exported function GetIntStringFormRegistryKey should have comment or be unexported (golint)
    • Line 33: warning: exported function GetStringFromRegistryKey should have comment or be unexported (golint)
    • wins/pkg/certs/certs.go
    • Line 17: warning: exported function GeneratePrivateKey should have comment or be unexported (golint)
    • Line 21: warning: exported function GenerateSelfSignedCACert should have comment or be unexported (golint)
    • Line 42: warning: exported function GenerateSignedCert should have comment or be unexported (golint)
    • Line 71: warning: exported function GenerateSelfSignedCACertAndKey should have comment or be unexported (golint)
    • Line 85: warning: exported function GenerateCertAndKey should have comment or be unexported (golint)
    • Line 99: warning: exported function EncodePrivateKeyPEM should have comment or be unexported (golint)
    • Line 107: warning: exported function EncodeCertPEM should have comment or be unexported (golint)
    • Line 115: warning: exported function WritePrivateKeyPEM should have comment or be unexported (golint)
    • Line 119: warning: exported function WriteCertPEM should have comment or be unexported (golint)
    • wins/pkg/converters/byte.go
    • Line 9: warning: exported function UnsafeBytesToString should have comment or be unexported (golint)
    • Line 13: warning: exported function UnsafeStringToBytes should have comment or be unexported (golint)
    • Line 17: warning: exported function UnsafeUTF16BytesToString should have comment or be unexported (golint)
    • wins/cmd/server/config/config.go
    • Line 13: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 28: warning: exported type Config should have comment or be unexported (golint)
    • Line 36: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 54: warning: exported type WhiteListConfig should have comment or be unexported (golint)
    • Line 59: warning: exported method WhiteListConfig.Validate should have comment or be unexported (golint)
    • Line 74: warning: exported type UpgradeConfig should have comment or be unexported (golint)
    • Line 79: warning: exported method UpgradeConfig.Validate should have comment or be unexported (golint)
    • Line 93: warning: exported method UpgradeConfig.IsWatchingMode should have comment or be unexported (golint)
    • Line 97: warning: exported function LoadConfig should have comment or be unexported (golint)
    • Line 119: warning: exported function DecodeConfig should have comment or be unexported (golint)
    • wins/pkg/converters/json.go
    • Line 10: warning: exported function ToJson should have comment or be unexported (golint)
    • Line 19: warning: exported function ToYaml should have comment or be unexported (golint)
    • wins/cmd/server/app/run_service.go
    • Line 188: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 193: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • wins/cmd/client/internal/grpc.go
    • Line 14: warning: exported function NewGRPCClientConn should have comment or be unexported (golint)
    • Line 27: warning: exported function ParseGRPCClientConn should have comment or be unexported (golint)
    • wins/pkg/panics/recover.go
    • Line 7: warning: exported function Log should have comment or be unexported (golint)
    • Line 13: warning: exported function DealWith should have comment or be unexported (golint)
    • Line 21: warning: exported function Ignore should have comment or be unexported (golint)
    • wins/pkg/paths/file_binary.go
    • Line 11: warning: exported function GetBinaryPath should have comment or be unexported (golint)
    • Line 44: warning: exported function GetBinarySHA1Hash should have comment or be unexported (golint)
    • Line 57: warning: exported function EnsureBinary should have comment or be unexported (golint)
    • wins/pkg/npipes/npipe.go
    • Line 15: warning: exported type Dialer should have comment or be unexported (golint)
    • Line 71: warning: exported function ParsePath should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign29%

IneffAssign detects ineffectual assignments in Go code.

    • wins/pkg/npipes/npipe.go
    • Line 25: warning: DialPipe not declared by package winio (ineffassign)
    • Line 51: warning: PipeConfig not declared by package winio (ineffassign)
    • Line 58: warning: ListenPipe not declared by package winio (ineffassign)
    • /home/shawn/go/pkg/mod/github.com/!microsoft/hcsshim@v0.8.14/internal/hcs/utils.go
    • Line 12: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 17: warning: Handle not declared by package syscall (ineffassign)
    • Line 12: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 17: warning: Handle not declared by package syscall (ineffassign)
    • Line 12: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 17: warning: Handle not declared by package syscall (ineffassign)
    • Line 12: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 17: warning: Handle not declared by package syscall (ineffassign)
    • /home/shawn/mygo/src/github.com/gojp/goreportcard/_repos/src/github.com/rancher/wins/pkg/logs/etw.go
    • Line 14: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import golang.org/x/sys/windows/svc/eventlog (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import golang.org/x/sys/windows/svc/eventlog (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import golang.org/x/sys/windows/svc/eventlog (invalid package name: "") (ineffassign)
    • /home/shawn/go/pkg/mod/github.com/!microsoft/go-winio@v0.4.16/hvsock.go
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • Line 67: warning: undeclared name: win32File (ineffassign)
    • Line 73: warning: undeclared name: win32File (ineffassign)
    • Line 77: warning: undeclared name: win32File (ineffassign)
    • wins/pkg/logs/etw.go
    • Line 14: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import golang.org/x/sys/windows/svc/eventlog (invalid package name: "") (ineffassign)
    • wins/cmd/client/host/get_version.go
    • Line 9: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 9: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • wins/cmd/grpcs/process_path_whitelist.go
    • Line 8: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 8: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • /home/shawn/go/pkg/mod/github.com/!microsoft/go-winio@v0.4.16/vhd/zvhd.go
    • Line 9: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 49: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 49: warning: undeclared name: CreateVirtualDiskParameters (ineffassign)
    • Line 49: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 49: warning: Handle not declared by package syscall (ineffassign)
    • Line 58: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 58: warning: undeclared name: CreateVirtualDiskParameters (ineffassign)
    • Line 58: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 58: warning: Handle not declared by package syscall (ineffassign)
    • Line 70: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 70: warning: undeclared name: OpenVirtualDiskParameters (ineffassign)
    • Line 70: warning: Handle not declared by package syscall (ineffassign)
    • Line 79: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 79: warning: undeclared name: OpenVirtualDiskParameters (ineffassign)
    • Line 79: warning: Handle not declared by package syscall (ineffassign)
    • Line 91: warning: Handle not declared by package syscall (ineffassign)
    • Line 91: warning: undeclared name: AttachVirtualDiskParameters (ineffassign)
    • Line 91: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 103: warning: Handle not declared by package syscall (ineffassign)
    • Line 115: warning: Handle not declared by package syscall (ineffassign)
    • Line 9: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 49: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 49: warning: undeclared name: CreateVirtualDiskParameters (ineffassign)
    • Line 49: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 49: warning: Handle not declared by package syscall (ineffassign)
    • Line 58: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 58: warning: undeclared name: CreateVirtualDiskParameters (ineffassign)
    • Line 58: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 58: warning: Handle not declared by package syscall (ineffassign)
    • Line 70: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 70: warning: undeclared name: OpenVirtualDiskParameters (ineffassign)
    • Line 70: warning: Handle not declared by package syscall (ineffassign)
    • Line 79: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 79: warning: undeclared name: OpenVirtualDiskParameters (ineffassign)
    • Line 79: warning: Handle not declared by package syscall (ineffassign)
    • Line 91: warning: Handle not declared by package syscall (ineffassign)
    • Line 91: warning: undeclared name: AttachVirtualDiskParameters (ineffassign)
    • Line 91: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 103: warning: Handle not declared by package syscall (ineffassign)
    • Line 115: warning: Handle not declared by package syscall (ineffassign)
    • Line 9: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 49: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 49: warning: undeclared name: CreateVirtualDiskParameters (ineffassign)
    • Line 49: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 49: warning: Handle not declared by package syscall (ineffassign)
    • Line 58: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 58: warning: undeclared name: CreateVirtualDiskParameters (ineffassign)
    • Line 58: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 58: warning: Handle not declared by package syscall (ineffassign)
    • Line 70: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 70: warning: undeclared name: OpenVirtualDiskParameters (ineffassign)
    • Line 70: warning: Handle not declared by package syscall (ineffassign)
    • Line 79: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 79: warning: undeclared name: OpenVirtualDiskParameters (ineffassign)
    • Line 79: warning: Handle not declared by package syscall (ineffassign)
    • Line 91: warning: Handle not declared by package syscall (ineffassign)
    • Line 91: warning: undeclared name: AttachVirtualDiskParameters (ineffassign)
    • Line 91: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 103: warning: Handle not declared by package syscall (ineffassign)
    • Line 115: warning: Handle not declared by package syscall (ineffassign)
    • Line 9: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 49: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 49: warning: undeclared name: CreateVirtualDiskParameters (ineffassign)
    • Line 49: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 49: warning: Handle not declared by package syscall (ineffassign)
    • Line 58: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 58: warning: undeclared name: CreateVirtualDiskParameters (ineffassign)
    • Line 58: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 58: warning: Handle not declared by package syscall (ineffassign)
    • Line 70: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 70: warning: undeclared name: OpenVirtualDiskParameters (ineffassign)
    • Line 70: warning: Handle not declared by package syscall (ineffassign)
    • Line 79: warning: undeclared name: VirtualStorageType (ineffassign)
    • Line 79: warning: undeclared name: OpenVirtualDiskParameters (ineffassign)
    • Line 79: warning: Handle not declared by package syscall (ineffassign)
    • Line 91: warning: Handle not declared by package syscall (ineffassign)
    • Line 91: warning: undeclared name: AttachVirtualDiskParameters (ineffassign)
    • Line 91: warning: Overlapped not declared by package syscall (ineffassign)
    • Line 103: warning: Handle not declared by package syscall (ineffassign)
    • Line 115: warning: Handle not declared by package syscall (ineffassign)
    • /home/shawn/go/pkg/mod/github.com/!microsoft/hcsshim@v0.8.14/internal/wclayer/baselayer.go
    • Line 24: warning: BackupFileWriter not declared by package winio (ineffassign)
    • Line 32: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 72: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 24: warning: BackupFileWriter not declared by package winio (ineffassign)
    • Line 32: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 72: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 24: warning: BackupFileWriter not declared by package winio (ineffassign)
    • Line 32: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 72: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 24: warning: BackupFileWriter not declared by package winio (ineffassign)
    • Line 32: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 72: warning: FileBasicInfo not declared by package winio (ineffassign)
    • wins/cmd/server/app/run_service.go
    • Line 18: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 19: warning: could not import golang.org/x/sys/windows/svc (invalid package name: "") (ineffassign)
    • Line 20: warning: could not import golang.org/x/sys/windows/svc/debug (invalid package name: "") (ineffassign)
    • Line 21: warning: could not import golang.org/x/sys/windows/svc/eventlog (invalid package name: "") (ineffassign)
    • Line 22: warning: could not import golang.org/x/sys/windows/svc/mgr (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 19: warning: could not import golang.org/x/sys/windows/svc (invalid package name: "") (ineffassign)
    • Line 20: warning: could not import golang.org/x/sys/windows/svc/debug (invalid package name: "") (ineffassign)
    • Line 21: warning: could not import golang.org/x/sys/windows/svc/eventlog (invalid package name: "") (ineffassign)
    • Line 22: warning: could not import golang.org/x/sys/windows/svc/mgr (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 19: warning: could not import golang.org/x/sys/windows/svc (invalid package name: "") (ineffassign)
    • Line 20: warning: could not import golang.org/x/sys/windows/svc/debug (invalid package name: "") (ineffassign)
    • Line 21: warning: could not import golang.org/x/sys/windows/svc/eventlog (invalid package name: "") (ineffassign)
    • Line 22: warning: could not import golang.org/x/sys/windows/svc/mgr (invalid package name: "") (ineffassign)
    • wins/pkg/apis/api.go
    • Line 14: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 14: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 76: warning: ListenPipe not declared by package winio (ineffassign)
    • wins/pkg/apis/process_service_mgmt.go
    • Line 86: warning: CreateToolhelp32Snapshot not declared by package syscall (ineffassign)
    • Line 86: warning: TH32CS_SNAPPROCESS not declared by package syscall (ineffassign)
    • Line 90: warning: CloseHandle not declared by package syscall (ineffassign)
    • Line 93: warning: ProcessEntry32 not declared by package syscall (ineffassign)
    • Line 95: warning: Process32First not declared by package syscall (ineffassign)
    • Line 103: warning: UTF16ToString not declared by package syscall (ineffassign)
    • Line 111: warning: Process32Next not declared by package syscall (ineffassign)
    • Line 160: warning: unknown field HideWindow in struct literal (ineffassign)
    • Line 161: warning: unknown field CreationFlags in struct literal (ineffassign)
    • wins/cmd/client/route/add.go
    • Line 12: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 12: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • /home/shawn/go/pkg/mod/github.com/!microsoft/go-winio@v0.4.16/pkg/guid/guid.go
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • wins/tests/validation/npipes_test.go
    • Line 10: warning: no required module provides package github.com/rancher/wins/pkg/powershells; to add it: (ineffassign)
    • Line 10: warning: could not import github.com/rancher/wins/pkg/powershells (invalid package name: "") (ineffassign)
    • wins/cmd/client/network/get.go
    • Line 10: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 10: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 10: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • wins/pkg/apis/network_service.go
    • Line 17: warning: could not import golang.org/x/sys/windows (invalid package name: "") (ineffassign)
    • Line 44: warning: IpAdapterInfo not declared by package syscall (ineffassign)
    • Line 46: warning: GetAdaptersInfo not declared by package syscall (ineffassign)
    • Line 50: warning: IpAdapterInfo not declared by package syscall (ineffassign)
    • Line 51: warning: GetAdaptersInfo not declared by package syscall (ineffassign)
    • wins/cmd/client/hns/get_network.go
    • Line 11: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 11: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • wins/cmd/client/process/run.go
    • Line 19: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 19: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 220: warning: writer declared but not used (ineffassign)
    • Line 220: warning: errWriter declared but not used (ineffassign)
    • Line 16: warning: "github.com/rancher/wins/cmd/outputs" imported but not used (ineffassign)
    • Line 19: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 19: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • /home/shawn/go/pkg/mod/github.com/!microsoft/hcsshim@v0.8.14/internal/vmcompute/vmcompute.go
    • Line 49: warning: Handle not declared by package syscall (ineffassign)
    • Line 53: warning: Handle not declared by package syscall (ineffassign)
    • Line 57: warning: Handle not declared by package syscall (ineffassign)
    • Line 66: warning: Handle not declared by package syscall (ineffassign)
    • Line 68: warning: Handle not declared by package syscall (ineffassign)
    • Line 70: warning: Handle not declared by package syscall (ineffassign)
    • Line 123: warning: Handle not declared by package syscall (ineffassign)
    • Line 49: warning: Handle not declared by package syscall (ineffassign)
    • Line 53: warning: Handle not declared by package syscall (ineffassign)
    • Line 57: warning: Handle not declared by package syscall (ineffassign)
    • Line 66: warning: Handle not declared by package syscall (ineffassign)
    • Line 68: warning: Handle not declared by package syscall (ineffassign)
    • Line 70: warning: Handle not declared by package syscall (ineffassign)
    • Line 123: warning: Handle not declared by package syscall (ineffassign)
    • Line 49: warning: Handle not declared by package syscall (ineffassign)
    • Line 53: warning: Handle not declared by package syscall (ineffassign)
    • Line 57: warning: Handle not declared by package syscall (ineffassign)
    • Line 66: warning: Handle not declared by package syscall (ineffassign)
    • Line 68: warning: Handle not declared by package syscall (ineffassign)
    • Line 70: warning: Handle not declared by package syscall (ineffassign)
    • Line 123: warning: Handle not declared by package syscall (ineffassign)
    • Line 49: warning: Handle not declared by package syscall (ineffassign)
    • Line 53: warning: Handle not declared by package syscall (ineffassign)
    • Line 57: warning: Handle not declared by package syscall (ineffassign)
    • Line 66: warning: Handle not declared by package syscall (ineffassign)
    • Line 68: warning: Handle not declared by package syscall (ineffassign)
    • Line 70: warning: Handle not declared by package syscall (ineffassign)
    • Line 123: warning: Handle not declared by package syscall (ineffassign)
    • /home/shawn/go/pkg/mod/github.com/!microsoft/hcsshim@v0.8.14/hcn/hcn.go
    • Line 75: warning: Handle not declared by package syscall (ineffassign)
    • Line 76: warning: Handle not declared by package syscall (ineffassign)
    • Line 77: warning: Handle not declared by package syscall (ineffassign)
    • Line 78: warning: Handle not declared by package syscall (ineffassign)
    • Line 79: warning: Handle not declared by package syscall (ineffassign)
    • Line 80: warning: Handle not declared by package syscall (ineffassign)
    • Line 81: warning: Handle not declared by package syscall (ineffassign)
    • Line 75: warning: Handle not declared by package syscall (ineffassign)
    • Line 76: warning: Handle not declared by package syscall (ineffassign)
    • Line 77: warning: Handle not declared by package syscall (ineffassign)
    • Line 78: warning: Handle not declared by package syscall (ineffassign)
    • Line 79: warning: Handle not declared by package syscall (ineffassign)
    • Line 80: warning: Handle not declared by package syscall (ineffassign)
    • Line 81: warning: Handle not declared by package syscall (ineffassign)
    • Line 75: warning: Handle not declared by package syscall (ineffassign)
    • Line 76: warning: Handle not declared by package syscall (ineffassign)
    • Line 77: warning: Handle not declared by package syscall (ineffassign)
    • Line 78: warning: Handle not declared by package syscall (ineffassign)
    • Line 79: warning: Handle not declared by package syscall (ineffassign)
    • Line 80: warning: Handle not declared by package syscall (ineffassign)
    • Line 81: warning: Handle not declared by package syscall (ineffassign)
    • Line 75: warning: Handle not declared by package syscall (ineffassign)
    • Line 76: warning: Handle not declared by package syscall (ineffassign)
    • Line 77: warning: Handle not declared by package syscall (ineffassign)
    • Line 78: warning: Handle not declared by package syscall (ineffassign)
    • Line 79: warning: Handle not declared by package syscall (ineffassign)
    • Line 80: warning: Handle not declared by package syscall (ineffassign)
    • Line 81: warning: Handle not declared by package syscall (ineffassign)
    • /home/shawn/mygo/src/github.com/gojp/goreportcard/_repos/src/github.com/rancher/wins/pkg/converters/error_ignore.go
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import golang.org/x/sys/windows/registry (invalid package name: "") (ineffassign)
    • wins/cmd/client/app/info.go
    • Line 13: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 13: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 13: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 13: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • Line 13: warning: no required module provides package github.com/rancher/wins/pkg/types; to add it: (ineffassign)
    • Line 13: warning: could not import github.com/rancher/wins/pkg/types (invalid package name: "") (ineffassign)
    • /home/shawn/go/pkg/mod/github.com/!microsoft/hcsshim@v0.8.14/internal/wclayer/legacy.go
    • Line 56: warning: BackupFileReader not declared by package winio (ineffassign)
    • Line 342: warning: BackupFileWriter not declared by package winio (ineffassign)
    • Line 200: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 470: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 578: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 56: warning: BackupFileReader not declared by package winio (ineffassign)
    • Line 342: warning: BackupFileWriter not declared by package winio (ineffassign)
    • Line 200: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 470: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 578: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 56: warning: BackupFileReader not declared by package winio (ineffassign)
    • Line 342: warning: BackupFileWriter not declared by package winio (ineffassign)
    • Line 200: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 470: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 578: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 56: warning: BackupFileReader not declared by package winio (ineffassign)
    • Line 342: warning: BackupFileWriter not declared by package winio (ineffassign)
    • Line 200: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 470: warning: FileBasicInfo not declared by package winio (ineffassign)
    • Line 578: warning: FileBasicInfo not declared by package winio (ineffassign)

misspell96%

Misspell Finds commonly misspelled English words