Preparing report...

Report for github.com/alex-held/devctl

A+    Excellent!    Found 70 issues across 111 files

Tweet

gofmt99%

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!


gocyclo100%

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.

No problems detected. Good job!


golint37%

Golint is a linter for Go source code.

    • devctl/internal/config/conf.go
    • Line 24: warning: exported type DevEnvGlobalConfig should have comment or be unexported (golint)
    • Line 28: warning: exported type DevEnvSDKConfig should have comment or be unexported (golint)
    • Line 33: warning: exported type SDKCandidate should have comment or be unexported (golint)
    • Line 38: warning: exported type DevCtlConfig should have comment or be unexported (golint)
    • Line 43: warning: exported method DevCtlConfig.GoString should have comment or be unexported (golint)
    • Line 51: warning: exported var ReadConfigFile should have comment or be unexported (golint)
    • Line 66: warning: exported function ParseConfigFile should have comment or be unexported (golint)
    • Line 88: warning: exported function WriteDevEnvConfig should have comment or be unexported (golint)
    • devctl/internal/plugins/sdk/ifaces.go
    • Line 11: warning: exported type PluginFn should have comment or be unexported (golint)
    • Line 15: warning: exported type SDKPlugin should have comment or be unexported (golint)
    • Line 25: warning: exported type SdkPluginW should have comment or be unexported (golint)
    • Line 36: warning: exported method SdkPluginW.GetPlugin should have comment or be unexported (golint)
    • Line 37: warning: exported method SdkPluginW.Lookup should have comment or be unexported (golint)
    • Line 44: warning: exported method SdkPluginW.PluginName should have comment or be unexported (golint)
    • Line 45: warning: exported method SdkPluginW.Install should have comment or be unexported (golint)
    • Line 46: warning: exported method SdkPluginW.Download should have comment or be unexported (golint)
    • Line 49: warning: exported method SdkPluginW.List should have comment or be unexported (golint)
    • Line 50: warning: exported method SdkPluginW.Current should have comment or be unexported (golint)
    • Line 51: warning: exported method SdkPluginW.Use should have comment or be unexported (golint)
    • Line 52: warning: exported method SdkPluginW.SetStdout should have comment or be unexported (golint)
    • Line 54: warning: exported type PluginGetter should have comment or be unexported (golint)
    • Line 58: warning: exported type SymbolLoader should have comment or be unexported (golint)
    • Line 62: warning: exported type SDKPluginLoaderFn should have comment or be unexported (golint)
    • Line 63: warning: exported type SDKPluginLoader should have comment or be unexported (golint)
    • Line 67: warning: exported function LoadSDKPlugin should have comment or be unexported (golint)
    • Line 80: warning: exported method SDKPluginLoaderFn.LoadSDKPlugin should have comment or be unexported (golint)
    • Line 86: warning: exported type SDKPluginBinder should have comment or be unexported (golint)
    • Line 93: warning: exported function Bind should have comment or be unexported (golint)
    • Line 99: warning: exported method SDKPluginBinderFn.Bind should have comment or be unexported (golint)
    • devctl/pkg/testutils/matchers/shell.go
    • Line 12: warning: exported type ContainExportMatcher should have comment or be unexported (golint)
    • Line 26: warning: exported method ContainExportMatcher.Match should have comment or be unexported (golint)
    • Line 41: warning: exported method ContainExportMatcher.FailureMessage should have comment or be unexported (golint)
    • Line 45: warning: exported method ContainExportMatcher.NegatedFailureMessage should have comment or be unexported (golint)
    • devctl/pkg/plugins/plugins.go
    • Line 10: warning: exported type Executor should have comment or be unexported (golint)
    • Line 15: warning: exported type StdoutNeeder should have comment or be unexported (golint)
    • Line 19: warning: exported type Plugin should have comment or be unexported (golint)
    • Line 23: warning: exported type SDKPlugin should have comment or be unexported (golint)
    • devctl/tools/pluggen/cmd/gen.go
    • Line 6: warning: should not use dot imports (golint)
    • Line 15: warning: exported var PkgFlag should have comment or be unexported (golint)
    • Line 20: warning: exported function NewGenCmd should have comment or be unexported (golint)
    • Line 68: warning: exported type Option should have comment or be unexported (golint)
    • Line 80: warning: exported function NewGenerator should have comment or be unexported (golint)
    • devctl/pkg/devctlpath/lazypath.go
    • Line 14: warning: exported const ConfigHomeRootEnvVar should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: comment on exported type Pather should be of the form "Pather ..." (with optional leading article) (golint)
    • Line 51: warning: exported type Option should have comment or be unexported (golint)
    • Line 53: warning: exported function WithAppPrefix should have comment or be unexported (golint)
    • Line 60: warning: exported function WithConfigFile should have comment or be unexported (golint)
    • Line 67: warning: exported function WithUserHomeFn should have comment or be unexported (golint)
    • Line 74: warning: exported function WithConfigRootFn should have comment or be unexported (golint)
    • Line 81: warning: exported function WithCachePathFn should have comment or be unexported (golint)
    • devctl/cli/cmds/cmds.go
    • Line 12: warning: exported function Plugins should have comment or be unexported (golint)
    • Line 20: warning: exported function AvailablePlugins should have comment or be unexported (golint)
    • Line 47: warning: exported function IsDevctl should have comment or be unexported (golint)
    • devctl/pkg/logging/formatter.go
    • Line 11: warning: exported type DevCtlFormatter should have comment or be unexported (golint)
    • Line 45: warning: exported method DevCtlFormatter.Format should have comment or be unexported (golint)
    • devctl/internal/sdkman/options.go
    • Line 19: warning: comment on exported function HTTPClientOption should be of the form "HTTPClientOption ..." (golint)
    • Line 50: warning: comment on exported function URLOptions should be of the form "URLOptions ..." (golint)
    • devctl/internal/shell/section.go
    • Line 10: warning: exported method Section.RootNode should have comment or be unexported (golint)
    • Line 12: warning: exported method Section.Execute should have comment or be unexported (golint)
    • Line 16: warning: exported function NewDevctlSection should have comment or be unexported (golint)
    • Line 29: warning: exported method Section.Render should have comment or be unexported (golint)
    • Line 44: warning: exported type SectionApplyFn should have comment or be unexported (golint)
    • Line 46: warning: exported method Section.Apply should have comment or be unexported (golint)
    • Line 51: warning: exported type Sections should have comment or be unexported (golint)
    • devctl/internal/sdkman/version.go
    • Line 16: warning: exported type VersionService should have comment or be unexported (golint)
    • Line 20: warning: exported method VersionService.All should have comment or be unexported (golint)
    • Line 49: warning: exported method VersionService.Default should have comment or be unexported (golint)
    • devctl/cli/devctl.go
    • Line 22: warning: exported function NewFromRoot should have comment or be unexported (golint)
    • Line 47: warning: exported method Devctl.ScopedPlugins should have comment or be unexported (golint)
    • Line 61: warning: exported method Devctl.SubCommands should have comment or be unexported (golint)
    • Line 71: warning: exported method Devctl.PluginName should have comment or be unexported (golint)
    • Line 75: warning: exported method Devctl.Description should have comment or be unexported (golint)
    • devctl/cli/cmds/sdk/find.go
    • Line 10: warning: exported function FindSdkerFromArgs should have comment or be unexported (golint)
    • Line 20: warning: exported function FindSdker should have comment or be unexported (golint)
    • devctl/pkg/ui/taskrunner/task.go
    • Line 10: warning: exported type SimpleTask should have comment or be unexported (golint)
    • Line 15: warning: exported method SimpleTask.Describe should have comment or be unexported (golint)
    • Line 16: warning: exported method SimpleTask.Task should have comment or be unexported (golint)
    • Line 18: warning: exported type Task should have comment or be unexported (golint)
    • Line 25: warning: exported method Task.Describe should have comment or be unexported (golint)
    • Line 33: warning: exported method Task.Task should have comment or be unexported (golint)
    • Line 37: warning: exported type Tasks should have comment or be unexported (golint)
    • Line 39: warning: exported method Tasks.Filter should have comment or be unexported (golint)
    • Line 48: warning: exported method Tasks.MapToString should have comment or be unexported (golint)
    • Line 56: warning: exported function NewConditionalTask should have comment or be unexported (golint)
    • Line 64: warning: exported type ConditionalTask should have comment or be unexported (golint)
    • Line 70: warning: exported method ConditionalTask.Describe should have comment or be unexported (golint)
    • Line 74: warning: exported method ConditionalTask.Task should have comment or be unexported (golint)
    • devctl/pkg/system/runtime.go
    • Line 9: warning: exported type RuntimeInfo should have comment or be unexported (golint)
    • Line 13: warning: exported method RuntimeInfo.Format should have comment or be unexported (golint)
    • Line 22: warning: exported type RuntimeInfoGetter should have comment or be unexported (golint)
    • Line 26: warning: exported type OSRuntimeInfoGetter should have comment or be unexported (golint)
    • Line 38: warning: exported method OSRuntimeInfoGetter.Get should have comment or be unexported (golint)
    • devctl/pkg/logging/default_logger.go
    • Line 10: warning: exported type LogLevel should have comment or be unexported (golint)
    • Line 28: warning: comment on exported const LogLevelDebug should be of the form "LogLevelDebug ..." (golint)
    • Line 31: warning: comment on exported const LogLevelInfo should be of the form "LogLevelInfo ..." (golint)
    • Line 35: warning: comment on exported const LogLevelWarn should be of the form "LogLevelWarn ..." (golint)
    • Line 39: warning: comment on exported const LogLevelError should be of the form "LogLevelError ..." (golint)
    • Line 44: warning: exported type Log should have comment or be unexported (golint)
    • Line 58: warning: exported method Logger.Fatalf should have comment or be unexported (golint)
    • Line 62: warning: exported method Logger.Panicf should have comment or be unexported (golint)
    • Line 67: warning: exported method Logger.Errorf should have comment or be unexported (golint)
    • Line 77: warning: exported method Logger.Warnf should have comment or be unexported (golint)
    • Line 84: warning: exported method Logger.Debugf should have comment or be unexported (golint)
    • Line 91: warning: exported method Logger.Infof should have comment or be unexported (golint)
    • Line 98: warning: exported method Logger.Logf should have comment or be unexported (golint)
    • Line 106: warning: exported method Logger.Child should have comment or be unexported (golint)
    • Line 116: warning: exported method Logger.SetLevel should have comment or be unexported (golint)
    • devctl/internal/sdkman/listSDK.go
    • Line 14: warning: exported type TableFormatter should have comment or be unexported (golint)
    • Line 16: warning: exported type SDKList should have comment or be unexported (golint)
    • Line 18: warning: exported method SDKList.Format should have comment or be unexported (golint)
    • Line 59: warning: exported type ListAllSDKService should have comment or be unexported (golint)
    • Line 61: warning: comment on exported method ListAllSDKService.ListAllSDK should be of the form "ListAllSDK ..." (golint)
    • devctl/internal/action/action.go
    • Line 24: warning: exported type Option should have comment or be unexported (golint)
    • Line 26: warning: exported function WithLogger should have comment or be unexported (golint)
    • Line 32: warning: exported function WithFs should have comment or be unexported (golint)
    • Line 39: warning: exported function WithSdkmanClient should have comment or be unexported (golint)
    • Line 46: warning: exported function WithPather should have comment or be unexported (golint)
    • Line 64: warning: exported type Actions should have comment or be unexported (golint)
    • Line 71: warning: exported function NewActions should have comment or be unexported (golint)
    • devctl/internal/app/cli.go
    • Line 21: warning: exported type PatherGetter should have comment or be unexported (golint)
    • Line 25: warning: exported type CLI should have comment or be unexported (golint)
    • Line 34: warning: exported type ConfigGetter should have comment or be unexported (golint)
    • Line 39: warning: exported type ConfigUpdater should have comment or be unexported (golint)
    • Line 90: warning: exported function GetOrCreateCLI should have comment or be unexported (golint)
    • devctl/cli/cmds/sdk/cmd.go
    • Line 15: warning: exported type Cmd should have comment or be unexported (golint)
    • Line 21: warning: exported method Cmd.PluginName should have comment or be unexported (golint)
    • Line 25: warning: exported method Cmd.ScopedPlugins should have comment or be unexported (golint)
    • Line 43: warning: exported method Cmd.WithPlugins should have comment or be unexported (golint)
    • Line 47: warning: exported method Cmd.SubCommands should have comment or be unexported (golint)
    • devctl/pkg/testutils/matchers/fs.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 13: warning: exported function BeAnExistingFileFs should have comment or be unexported (golint)
    • Line 32: warning: exported type FsBeAnExistingFileMatcher should have comment or be unexported (golint)
    • Line 36: warning: exported method FsBeAnExistingFileMatcher.Match should have comment or be unexported (golint)
    • Line 70: warning: exported method FsBeAnExistingFileMatcher.FailureMessage should have comment or be unexported (golint)
    • Line 74: warning: exported method FsBeAnExistingFileMatcher.NegatedFailureMessage should have comment or be unexported (golint)
    • devctl/cli/ifaces.go
    • Line 12: warning: exported type Aliaser should have comment or be unexported (golint)
    • Line 13: warning: exported type Commander should have comment or be unexported (golint)
    • Line 14: warning: exported type Needer should have comment or be unexported (golint)
    • Line 15: warning: exported type StderrNeeder should have comment or be unexported (golint)
    • Line 16: warning: exported type StdinNeeder should have comment or be unexported (golint)
    • Line 17: warning: exported type StdoutNeeder should have comment or be unexported (golint)
    • Line 19: warning: comment on exported type AvailabilityChecker should be of the form "AvailabilityChecker ..." (with optional leading article) (golint)
    • Line 24: warning: exported type ErrNeeder should have comment or be unexported (golint)
    • Line 27: warning: exported type Errer should have comment or be unexported (golint)
    • Line 30: warning: exported type OutNeeder should have comment or be unexported (golint)
    • Line 33: warning: exported type Outer should have comment or be unexported (golint)
    • Line 36: warning: exported type InNeeder should have comment or be unexported (golint)
    • Line 39: warning: exported type Inner should have comment or be unexported (golint)
    • Line 43: warning: exported type Initer should have comment or be unexported (golint)
    • devctl/pkg/ui/taskrunner/ifaces.go
    • Line 7: warning: exported type TaskRunnerMsg should have comment or be unexported (golint)
    • Line 12: warning: exported type TaskRunnerOutput should have comment or be unexported (golint)
    • Line 19: warning: exported type Describer should have comment or be unexported (golint)
    • Line 23: warning: exported type Runner should have comment or be unexported (golint)
    • Line 29: warning: exported type Tasker should have comment or be unexported (golint)
    • Line 34: warning: exported type ConditionalExecutorFn should have comment or be unexported (golint)
    • Line 35: warning: exported type TaskActionFn should have comment or be unexported (golint)
    • devctl/internal/plugins/search.go
    • Line 17: warning: exported type PluginSearchResults should have comment or be unexported (golint)
    • Line 18: warning: exported type PluginSearchResult should have comment or be unexported (golint)
    • Line 27: warning: exported var ErrNoValidTopics should have comment or be unexported (golint)
    • Line 31: warning: exported type Client should have comment or be unexported (golint)
    • Line 42: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 57: warning: exported type Query should have comment or be unexported (golint)
    • Line 62: warning: exported type QueryOption should have comment or be unexported (golint)
    • Line 64: warning: exported function WithKind should have comment or be unexported (golint)
    • Line 71: warning: exported function WithName should have comment or be unexported (golint)
    • Line 78: warning: exported function NewQuery should have comment or be unexported (golint)
    • Line 148: warning: exported function ParseKindFromRepo should have comment or be unexported (golint)
    • devctl/cli/cmds/sdk/flags.go
    • Line 12: warning: exported method Cmd.Flags should have comment or be unexported (golint)
    • Line 36: warning: exported method Cmd.PrintFlags should have comment or be unexported (golint)
    • devctl/cmd/sdkman.go
    • Line 20: warning: exported type OutputFormat should have comment or be unexported (golint)
    • Line 23: warning: exported const Text should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: comment on exported function NewSdkManListCommand should be of the form "NewSdkManListCommand ..." (golint)
    • Line 83: warning: comment on exported function NewSdkManDefaultCommand should be of the form "NewSdkManDefaultCommand ..." (golint)
    • Line 103: warning: comment on exported function NewSdkManVersionsCommand should be of the form "NewSdkManVersionsCommand ..." (golint)
    • Line 122: warning: comment on exported function NewSdkManDownloadCommand should be of the form "NewSdkManDownloadCommand ..." (golint)
    • devctl/internal/sdk/sdk.go
    • Line 10: warning: exported type Actions should have comment or be unexported (golint)
    • Line 15: warning: exported method Actions.List should have comment or be unexported (golint)
    • Line 20: warning: exported var NoOpExcluder should have comment or be unexported (golint)
    • Line 24: warning: exported type Excluder should have comment or be unexported (golint)
    • Line 26: warning: exported method Actions.ListVersions should have comment or be unexported (golint)
    • Line 36: warning: exported function GetSubdirNames should have comment or be unexported (golint)
    • devctl/internal/system/arch.go
    • Line 9: warning: exported const OsWindows should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported method Arch.IsOfFamily should have comment or be unexported (golint)
    • Line 35: warning: exported method Arch.IsWindows should have comment or be unexported (golint)
    • Line 36: warning: exported method Arch.IsDarwin should have comment or be unexported (golint)
    • Line 37: warning: exported method Arch.IsLinux should have comment or be unexported (golint)
    • Line 43: warning: exported var GetGoosFuncOverwrite should have comment or be unexported (golint)
    • Line 45: warning: exported function GetCurrent should have comment or be unexported (golint)
    • Line 66: warning: comment on exported const Darwin should be of the form "Darwin ..." (golint)
    • Line 69: warning: comment on exported const Linux should be of the form "Linux ..." (golint)
    • Line 72: warning: comment on exported const Windows should be of the form "Windows ..." (golint)
    • Line 77: warning: comment on exported const LinuxX64 should be of the form "LinuxX64 ..." (golint)
    • Line 79: warning: comment on exported const LinuxArm32 should be of the form "LinuxArm32 ..." (golint)
    • devctl/plugins/sdk-01/main.go
    • Line 16: warning: exported function SetStdout should have comment or be unexported (golint)
    • Line 21: warning: exported function PluginName should have comment or be unexported (golint)
    • Line 26: warning: exported function Install should have comment or be unexported (golint)
    • Line 31: warning: exported function Download should have comment or be unexported (golint)
    • Line 36: warning: exported function List should have comment or be unexported (golint)
    • Line 41: warning: exported function Current should have comment or be unexported (golint)
    • Line 46: warning: exported function Use should have comment or be unexported (golint)
    • devctl/cli/cmds/version/cmd.go
    • Line 29: warning: exported method Cmd.SetStdout should have comment or be unexported (golint)
    • Line 34: warning: exported method Cmd.PrintFlags should have comment or be unexported (golint)
    • Line 41: warning: exported method Cmd.PluginName should have comment or be unexported (golint)
    • Line 45: warning: exported method Cmd.Description should have comment or be unexported (golint)
    • Line 53: warning: exported method Cmd.Flags should have comment or be unexported (golint)
    • Line 61: warning: exported method Cmd.Main should have comment or be unexported (golint)
    • devctl/pkg/plugins/NoOpPlugin.go
    • Line 10: warning: exported type NoOpPlugin should have comment or be unexported (golint)
    • Line 14: warning: exported type TestNoOpPlugin should have comment or be unexported (golint)
    • Line 19: warning: exported method TestNoOpPlugin.ExecuteCommand should have comment or be unexported (golint)
    • Line 28: warning: exported method NoOpPlugin.PluginName should have comment or be unexported (golint)
    • Line 30: warning: exported method NoOpPlugin.ExecuteCommand should have comment or be unexported (golint)
    • devctl/pkg/ui/taskrunner/options.go
    • Line 9: warning: exported type Option should have comment or be unexported (golint)
    • Line 24: warning: exported type NoOpOutput should have comment or be unexported (golint)
    • Line 26: warning: exported method NoOpOutput.ErrorF should have comment or be unexported (golint)
    • Line 27: warning: exported method NoOpOutput.Printf should have comment or be unexported (golint)
    • Line 28: warning: exported method NoOpOutput.PrintTaskProgress should have comment or be unexported (golint)
    • Line 29: warning: exported method NoOpOutput.Next should have comment or be unexported (golint)
    • Line 31: warning: exported function WithDiscardOutput should have comment or be unexported (golint)
    • Line 38: warning: exported function WithPTermOutput should have comment or be unexported (golint)
    • Line 45: warning: exported function WithTimeout should have comment or be unexported (golint)
    • Line 52: warning: exported function WithTasks should have comment or be unexported (golint)
    • Line 59: warning: exported function WithTitle should have comment or be unexported (golint)
    • devctl/pkg/logging/logger.go
    • Line 11: warning: exported type Logger should have comment or be unexported (golint)
    • Line 22: warning: exported method Logger.WithField should have comment or be unexported (golint)
    • Line 25: warning: exported method Logger.WithFields should have comment or be unexported (golint)
    • Line 26: warning: exported method Logger.WithError should have comment or be unexported (golint)
    • Line 27: warning: exported method Logger.Printf should have comment or be unexported (golint)
    • Line 28: warning: exported method Logger.Warningf should have comment or be unexported (golint)
    • Line 29: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 30: warning: exported method Logger.Info should have comment or be unexported (golint)
    • Line 31: warning: exported method Logger.Print should have comment or be unexported (golint)
    • Line 32: warning: exported method Logger.Warn should have comment or be unexported (golint)
    • Line 33: warning: exported method Logger.Warning should have comment or be unexported (golint)
    • Line 35: warning: exported method Logger.Fatal should have comment or be unexported (golint)
    • Line 36: warning: exported method Logger.Panic should have comment or be unexported (golint)
    • Line 37: warning: exported method Logger.Debugln should have comment or be unexported (golint)
    • Line 38: warning: exported method Logger.Infoln should have comment or be unexported (golint)
    • Line 39: warning: exported method Logger.Println should have comment or be unexported (golint)
    • Line 40: warning: exported method Logger.Warnln should have comment or be unexported (golint)
    • Line 41: warning: exported method Logger.Warningln should have comment or be unexported (golint)
    • Line 42: warning: exported method Logger.Errorln should have comment or be unexported (golint)
    • Line 43: warning: exported method Logger.Fatalln should have comment or be unexported (golint)
    • Line 44: warning: exported method Logger.Panicln should have comment or be unexported (golint)
    • Line 54: warning: exported function NewLogger should have comment or be unexported (golint)
    • devctl/pkg/logging/options.go
    • Line 10: warning: exported type Option should have comment or be unexported (golint)
    • Line 12: warning: exported function WithDebugFunc should have comment or be unexported (golint)
    • Line 19: warning: exported function WithFormatter should have comment or be unexported (golint)
    • Line 26: warning: exported function WithBuffer should have comment or be unexported (golint)
    • Line 33: warning: exported function WithExitFn should have comment or be unexported (golint)
    • Line 41: warning: exported function WithOutputs should have comment or be unexported (golint)
    • Line 48: warning: exported function WithLevel should have comment or be unexported (golint)
    • Line 58: warning: exported function WithName should have comment or be unexported (golint)
    • Line 65: warning: exported function WithVerbose should have comment or be unexported (golint)
    • devctl/cli/cmds/sdk/ifaces.go
    • Line 12: warning: exported type Installer should have comment or be unexported (golint)
    • Line 17: warning: exported type Sdker should have comment or be unexported (golint)
    • Line 22: warning: exported type Namer should have comment or be unexported (golint)
    • Line 27: warning: exported type Flagger should have comment or be unexported (golint)
    • Line 32: warning: exported type Pflagger should have comment or be unexported (golint)
    • Line 37: warning: exported type Aliaser should have comment or be unexported (golint)
    • Line 42: warning: exported type Stdouter should have comment or be unexported (golint)
    • Line 43: warning: exported type Needer should have comment or be unexported (golint)
    • devctl/pkg/testutils/BeADirMatcher.go
    • Line 32: warning: exported type BeADirMatcher should have comment or be unexported (golint)
    • Line 37: warning: exported method BeADirMatcher.Match should have comment or be unexported (golint)
    • Line 65: warning: exported method BeADirMatcher.FailureMessage should have comment or be unexported (golint)
    • Line 69: warning: exported method BeADirMatcher.NegatedFailureMessage should have comment or be unexported (golint)
    • devctl/internal/shell/zsh_hook.go
    • Line 13: warning: exported type Section should have comment or be unexported (golint)
    • Line 21: warning: exported method Section.GetDefaultTemplate should have comment or be unexported (golint)
    • Line 26: warning: exported type UninitializedSection should have comment or be unexported (golint)
    • Line 28: warning: exported function CreateUninitializedSection should have comment or be unexported (golint)
    • Line 34: warning: exported function NewSection should have comment or be unexported (golint)
    • Line 45: warning: exported method Section.InitializeWithRootNode should have comment or be unexported (golint)
    • Line 70: warning: exported type SDK should have comment or be unexported (golint)
    • Line 73: warning: exported type SDKList should have comment or be unexported (golint)
    • Line 75: warning: exported type DevCtlSectionConfig should have comment or be unexported (golint)
    • Line 78: warning: exported type SDKSectionConfig should have comment or be unexported (golint)
    • Line 82: warning: exported type HookConfig should have comment or be unexported (golint)
    • Line 88: warning: exported method HookConfig.GetTemplateForSection should have comment or be unexported (golint)
    • Line 92: warning: exported method HookConfig.ApplyWithSelector should have comment or be unexported (golint)
    • Line 101: warning: exported method HookConfig.LookupTemplate should have comment or be unexported (golint)
    • Line 105: warning: exported method HookConfig.ListSections should have comment or be unexported (golint)
    • Line 112: warning: exported method HookConfig.GetSection should have comment or be unexported (golint)
    • Line 117: warning: exported method HookConfig.Get should have comment or be unexported (golint)
    • Line 147: warning: exported type RootCfgNode should have comment or be unexported (golint)
    • Line 151: warning: exported type CfgNode should have comment or be unexported (golint)
    • Line 204: warning: exported type HookApplyFn should have comment or be unexported (golint)
    • Line 206: warning: exported type InSelectorApplyFn should have comment or be unexported (golint)
    • Line 207: warning: exported type MapFn should have comment or be unexported (golint)
    • Line 208: warning: exported type UpdateConfigSelector should have comment or be unexported (golint)
    • Line 209: warning: exported type HookApplySelectorFn should have comment or be unexported (golint)
    • Line 211: warning: exported type HookApplySelectorFn2 should have comment or be unexported (golint)
    • Line 216: warning: exported type HookSubApplyFn should have comment or be unexported (golint)
    • Line 217: warning: exported type HookSectionsApplyFn should have comment or be unexported (golint)
    • Line 219: warning: exported method HookConfig.AddOrUpdateSections should have comment or be unexported (golint)
    • Line 228: warning: exported method HookConfig.Apply should have comment or be unexported (golint)
    • Line 236: warning: exported method HookConfig.Root should have comment or be unexported (golint)
    • Line 245: warning: exported type HookGenerator should have comment or be unexported (golint)
    • Line 255: warning: exported type Hook should have comment or be unexported (golint)
    • Line 266: warning: exported method Hook.GoString should have comment or be unexported (golint)
    • Line 270: warning: exported method HookGenerator.Generate should have comment or be unexported (golint)
    • devctl/internal/plugins/kind.go
    • Line 1: warning: package comment should be of the form "Package plugins ..." (golint)
    • Line 4: warning: exported type KindEnum should have comment or be unexported (golint)
    • Line 8: warning: exported function IsValidKind should have comment or be unexported (golint)
    • Line 17: warning: exported method Kind.IsValid should have comment or be unexported (golint)
    • devctl/pkg/constants/exitcodes.go
    • Line 8: warning: exported type ExitCode should have comment or be unexported (golint)
    • Line 10: warning: exported type ExitError should have comment or be unexported (golint)
    • Line 31: warning: exported const OK should have comment (or a comment on this block) or be unexported (golint)
    • devctl/pkg/testutils/BeASymlinkMatcher.go
    • Line 32: warning: exported type BeASymlinkMatcher should have comment or be unexported (golint)
    • Line 37: warning: exported method BeASymlinkMatcher.Match should have comment or be unexported (golint)
    • Line 65: warning: exported method BeASymlinkMatcher.FailureMessage should have comment or be unexported (golint)
    • Line 69: warning: exported method BeASymlinkMatcher.NegatedFailureMessage should have comment or be unexported (golint)
    • devctl/pkg/devctlpath/home.go
    • Line 18: warning: exported type UserHomePathFinder should have comment or be unexported (golint)
    • Line 19: warning: exported type CachePathFinder should have comment or be unexported (golint)
    • Line 20: warning: exported type ConfigRootFinder should have comment or be unexported (golint)
    • Line 32: warning: comment on exported function DefaultPather should be of the form "DefaultPather ..." (golint)
    • devctl/pkg/logging/debug.go
    • Line 8: warning: exported type DebugFunc should have comment or be unexported (golint)
    • Line 31: warning: exported function HaveDebugTag should have comment or be unexported (golint)
    • Line 35: warning: exported function SetupVerboseLog should have comment or be unexported (golint)
    • Line 41: warning: exported function Debug should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!