Preparing report...

Report for github.com/akaspin/soil

A+    Excellent!    Found 98 issues across 150 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!


gocyclo95%

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.


golint39%

Golint is a linter for Go source code.

    • soil/fixture/net.go
    • Line 9: warning: exported function RandomPort should have comment or be unexported (golint)
    • Line 20: warning: exported function RandomPorts should have comment or be unexported (golint)
    • Line 47: warning: exported function GetLocalIP should have comment or be unexported (golint)
    • soil/agent/cluster/kv.go
    • Line 41: warning: exported type KV should have comment or be unexported (golint)
    • Line 66: warning: exported function NewKV should have comment or be unexported (golint)
    • Line 89: warning: exported method KV.Open should have comment or be unexported (golint)
    • Line 95: warning: exported method KV.VolatileStore should have comment or be unexported (golint)
    • Line 105: warning: exported method KV.PermanentStore should have comment or be unexported (golint)
    • Line 115: warning: exported method KV.Producer should have comment or be unexported (golint)
    • Line 123: warning: exported method KV.Configure should have comment or be unexported (golint)
    • Line 144: warning: comment on exported method KV.SubscribeKey should be of the form "SubscribeKey ..." (golint)
    • Line 145: warning: context.Context should be the first parameter of a function (golint)
    • soil/agent/api/api-server/endpoint.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 11: warning: exported type Endpoint should have comment or be unexported (golint)
    • Line 17: warning: comment on exported function GET should be of the form "GET ..." (golint)
    • Line 23: warning: comment on exported function PUT should be of the form "PUT ..." (golint)
    • Line 29: warning: comment on exported function DELETE should be of the form "DELETE ..." (golint)
    • Line 35: warning: exported function NewEndpoint should have comment or be unexported (golint)
    • Line 44: warning: exported method Endpoint.Processor should have comment or be unexported (golint)
    • soil/manifest/provider.go
    • Line 10: warning: exported type Providers should have comment or be unexported (golint)
    • Line 12: warning: exported method Providers.Empty should have comment or be unexported (golint)
    • Line 16: warning: exported method Providers.Append should have comment or be unexported (golint)
    • Line 22: warning: comment on exported type Provider should be of the form "Provider ..." (with optional leading article) (golint)
    • Line 29: warning: exported method Provider.GetID should have comment or be unexported (golint)
    • Line 33: warning: exported method Provider.ID should have comment or be unexported (golint)
    • Line 37: warning: exported method Provider.ParseAST should have comment or be unexported (golint)
    • soil/agent/api/registry.go
    • Line 16: warning: exported const V1Registry should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported function NewRegistryPodsGet should have comment or be unexported (golint)
    • Line 52: warning: exported function NewRegistryPodsPut should have comment or be unexported (golint)
    • Line 82: warning: exported function NewRegistryPodsDelete should have comment or be unexported (golint)
    • soil/agent/bus/pipe/strict.go
    • Line 9: warning: comment on exported type StrictPipe should be of the form "StrictPipe ..." (with optional leading article) (golint)
    • Line 23: warning: exported function NewStrict should have comment or be unexported (golint)
    • Line 37: warning: exported method StrictPipe.ConsumeMessage should have comment or be unexported (golint)
    • soil/agent/resource/estimator/config.go
    • Line 9: warning: comment on exported type GlobalConfig should be of the form "GlobalConfig ..." (with optional leading article) (golint)
    • Line 13: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • soil/agent/scheduler/evaluator.go
    • Line 7: warning: exported type Evaluator should have comment or be unexported (golint)
    • Line 20: warning: exported type BoundedEvaluator should have comment or be unexported (golint)
    • Line 25: warning: exported function NewBoundedEvaluator should have comment or be unexported (golint)
    • soil/fixture/systemd.go
    • Line 17: warning: exported function WriteTemplate should have comment or be unexported (golint)
    • Line 73: warning: exported function CheckUnitHashes should have comment or be unexported (golint)
    • soil/agent/server.go
    • Line 23: warning: exported var ServerVersion should have comment or be unexported (golint)
    • Line 25: warning: exported type ServerOptions should have comment or be unexported (golint)
    • Line 32: warning: comment on exported type Server should be of the form "Server ..." (with optional leading article) (golint)
    • Line 50: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 183: warning: exported method Server.Open should have comment or be unexported (golint)
    • Line 201: warning: exported method Server.Close should have comment or be unexported (golint)
    • Line 205: warning: exported method Server.Wait should have comment or be unexported (golint)
    • Line 209: warning: exported method Server.Configure should have comment or be unexported (golint)
    • soil/agent/api/wrap.go
    • Line 8: warning: comment on exported type Wrapper should be of the form "Wrapper ..." (with optional leading article) (golint)
    • Line 13: warning: exported function NewWrapper should have comment or be unexported (golint)
    • Line 20: warning: exported method Wrapper.Empty should have comment or be unexported (golint)
    • Line 24: warning: exported method Wrapper.Process should have comment or be unexported (golint)
    • soil/manifest/environment.go
    • Line 15: warning: comment on exported type FlatMap should be of the form "FlatMap ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported method FlatMap.Filter should be of the form "Filter ..." (golint)
    • Line 44: warning: exported method FlatMap.WithJSON should have comment or be unexported (golint)
    • Line 75: warning: exported function ExtractEnv should have comment or be unexported (golint)
    • Line 83: warning: exported function Interpolate should have comment or be unexported (golint)
    • soil/agent/api/agent.go
    • Line 11: warning: exported function NewAgentReloadPut should have comment or be unexported (golint)
    • Line 19: warning: exported function NewAgentStopPut should have comment or be unexported (golint)
    • Line 31: warning: exported function NewAgentDrainPut should have comment or be unexported (golint)
    • Line 39: warning: exported function NewAgentDrainDelete should have comment or be unexported (golint)
    • soil/agent/cluster/config.go
    • Line 14: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 23: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 34: warning: exported method Config.IsEqual should have comment or be unexported (golint)
    • Line 41: warning: exported method Config.Unmarshal should have comment or be unexported (golint)
    • soil/manifest/pod.go
    • Line 16: warning: exported const PrivateNamespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type PodSlice should have comment or be unexported (golint)
    • Line 22: warning: exported method PodSlice.Empty should have comment or be unexported (golint)
    • Line 30: warning: exported method PodSlice.Append should have comment or be unexported (golint)
    • Line 35: warning: exported method PodSlice.SetNamespace should have comment or be unexported (golint)
    • Line 41: warning: exported method PodSlice.Unmarshal should have comment or be unexported (golint)
    • Line 64: warning: exported method Pod.GetID should have comment or be unexported (golint)
    • Line 68: warning: exported method Pod.ParseAST should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method Pod.Mark should be of the form "Mark ..." (golint)
    • Line 93: warning: comment on exported function IsEqual should be of the form "IsEqual ..." (golint)
    • soil/agent/bus/pipe/divert.go
    • Line 21: warning: comment on exported function NewDivert should be of the form "NewDivert ..." (golint)
    • Line 30: warning: comment on exported method Divert.ConsumeMessage should be of the form "ConsumeMessage ..." (golint)
    • soil/agent/bus/pipe/lift.go
    • Line 18: warning: exported function NewLift should have comment or be unexported (golint)
    • Line 27: warning: exported method Lift.ConsumeMessage should have comment or be unexported (golint)
    • soil/proto/version.go
    • Line 3: warning: exported var Version should have comment or be unexported (golint)
    • Line 5: warning: exported const APIV1Version should have comment or be unexported (golint)
    • soil/agent/resource/estimator/result.go
    • Line 10: warning: comment on exported type Result should be of the form "Result ..." (with optional leading article) (golint)
    • Line 16: warning: comment on exported function NewEstimatorMessage should be of the form "NewEstimatorMessage ..." (golint)
    • soil/agent/allocation/discovery.go
    • Line 5: warning: exported const DefaultPodPrefix should have comment or be unexported (golint)
    • Line 24: warning: exported function DefaultDbusDiscoveryFunc should have comment or be unexported (golint)
    • Line 29: warning: exported function GetZeroDiscoveryFunc should have comment or be unexported (golint)
    • soil/agent/metrics/dummy.go
    • Line 18: warning: exported function NewDummy should have comment or be unexported (golint)
    • Line 27: warning: exported method Dummy.Count should have comment or be unexported (golint)
    • soil/proto/schema.go
    • Line 4: warning: exported const V1RegistryPods should have comment (or a comment on this block) or be unexported (golint)
    • soil/proto/status.go
    • Line 3: warning: exported type NodeInfo should have comment or be unexported (golint)
    • Line 10: warning: exported type NodesInfo should have comment or be unexported (golint)
    • soil/manifest/blob.go
    • Line 9: warning: exported type Blobs should have comment or be unexported (golint)
    • Line 11: warning: exported method Blobs.Empty should have comment or be unexported (golint)
    • Line 17: warning: exported method Blobs.Append should have comment or be unexported (golint)
    • Line 23: warning: comment on exported type Blob should be of the form "Blob ..." (with optional leading article) (golint)
    • Line 31: warning: exported method Blob.GetID should have comment or be unexported (golint)
    • Line 35: warning: exported method Blob.ParseAST should have comment or be unexported (golint)
    • soil/agent/cluster/backend.go
    • Line 18: warning: exported type BackendConfig should have comment or be unexported (golint)
    • Line 26: warning: exported type WatchRequest should have comment or be unexported (golint)
    • Line 31: warning: exported type WatchResult should have comment or be unexported (golint)
    • Line 36: warning: exported type Backend should have comment or be unexported (golint)
    • Line 49: warning: exported type BackendFactory should have comment or be unexported (golint)
    • Line 51: warning: exported function DefaultBackendFactory should have comment or be unexported (golint)
    • Line 82: warning: exported type StoreOp should have comment or be unexported (golint)
    • Line 87: warning: exported type StoreCommit should have comment or be unexported (golint)
    • soil/agent/bus/pipe/slice.go
    • Line 9: warning: comment on exported type Slice should be of the form "Slice ..." (with optional leading article) (golint)
    • Line 15: warning: exported function NewSlice should have comment or be unexported (golint)
    • Line 23: warning: exported method Slice.ConsumeMessage should have comment or be unexported (golint)
    • soil/agent/bus/message.go
    • Line 11: warning: comment on exported function NewMessage should be of the form "NewMessage ..." (golint)
    • Line 20: warning: comment on exported method Message.Topic should be of the form "Topic ..." (golint)
    • Line 25: warning: comment on exported method Message.Payload should be of the form "Payload ..." (golint)
    • Line 31: warning: comment on exported method Message.IsEqual should be of the form "IsEqual ..." (golint)
    • soil/agent/cluster/zero_backend.go
    • Line 8: warning: comment on exported type ZeroBackend should be of the form "ZeroBackend ..." (with optional leading article) (golint)
    • Line 13: warning: exported function NewZeroBackend should have comment or be unexported (golint)
    • Line 20: warning: exported method ZeroBackend.Submit should have comment or be unexported (golint)
    • Line 23: warning: exported method ZeroBackend.Subscribe should have comment or be unexported (golint)
    • soil/agent/bus/testing_consumer.go
    • Line 9: warning: exported type TestingConsumer should have comment or be unexported (golint)
    • Line 27: warning: exported function NewTestingConsumer should have comment or be unexported (golint)
    • Line 48: warning: exported method TestingConsumer.ConsumeMessage should have comment or be unexported (golint)
    • Line 56: warning: exported method TestingConsumer.ExpectMessagesFn should have comment or be unexported (golint)
    • Line 84: warning: exported method TestingConsumer.ExpectLastMessageFn should have comment or be unexported (golint)
    • Line 111: warning: exported method TestingConsumer.ExpectMessagesByIdFn should have comment or be unexported (golint)
    • soil/agent/config.go
    • Line 12: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 18: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 28: warning: exported method Config.Unmarshal should have comment or be unexported (golint)
    • soil/command/version.go
    • Line 10: warning: exported type Version should have comment or be unexported (golint)
    • Line 14: warning: exported method Version.Bind should have comment or be unexported (golint)
    • Line 19: warning: exported method Version.Run should have comment or be unexported (golint)
    • soil/agent/provision/evaluator.go
    • Line 15: warning: exported type EvaluatorConfig should have comment or be unexported (golint)
    • Line 21: warning: exported type Evaluator should have comment or be unexported (golint)
    • Line 29: warning: exported function NewEvaluator should have comment or be unexported (golint)
    • Line 39: warning: exported method Evaluator.Open should have comment or be unexported (golint)
    • Line 52: warning: comment on exported method Evaluator.GetConstraint should be of the form "GetConstraint ..." (golint)
    • Line 65: warning: exported method Evaluator.Allocate should have comment or be unexported (golint)
    • Line 79: warning: exported method Evaluator.Deallocate should have comment or be unexported (golint)
    • soil/agent/cluster/key.go
    • Line 8: warning: exported function NormalizeKey should have comment or be unexported (golint)
    • Line 13: warning: exported function TrimKeyPrefix should have comment or be unexported (golint)
    • soil/agent/allocation/resource.go
    • Line 15: warning: exported const ResourceValuesPostfix should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: comment on exported type ResourceSlice should be of the form "ResourceSlice ..." (with optional leading article) (golint)
    • Line 21: warning: exported method ResourceSlice.GetEmpty should have comment or be unexported (golint)
    • Line 26: warning: exported method ResourceSlice.GetVersionPrefix should have comment or be unexported (golint)
    • Line 31: warning: exported method ResourceSlice.FromManifest should have comment or be unexported (golint)
    • Line 31: warning: receiver name r should be consistent with previous receiver name s for ResourceSlice (golint)
    • Line 45: warning: exported method ResourceSlice.AppendItem should have comment or be unexported (golint)
    • Line 45: warning: receiver name r should be consistent with previous receiver name s for ResourceSlice (golint)
    • Line 49: warning: comment on exported type Resource should be of the form "Resource ..." (with optional leading article) (golint)
    • Line 62: warning: comment on exported method Resource.FromManifest should be of the form "FromManifest ..." (golint)
    • Line 73: warning: comment on exported method Resource.ValuesKey should be of the form "ValuesKey ..." (golint)
    • Line 79: warning: comment on exported method Resource.MarshalSpec should be of the form "MarshalSpec ..." (golint)
    • Line 88: warning: exported method Resource.UnmarshalSpec should have comment or be unexported (golint)
    • Line 94: warning: exported method Resource.Clone should have comment or be unexported (golint)
    • soil/command/root.go
    • Line 9: warning: exported type Soil should have comment or be unexported (golint)
    • Line 13: warning: exported method Soil.Bind should have comment or be unexported (golint)
    • Line 17: warning: exported function Run should have comment or be unexported (golint)
    • soil/lib/static_buffers.go
    • Line 11: warning: exported type StaticBuffers should have comment or be unexported (golint)
    • Line 13: warning: exported method StaticBuffers.ReadFiles should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method StaticBuffers.GetReaders should be of the form "GetReaders ..." (golint)
    • soil/agent/cluster/consul_backend.go
    • Line 12: warning: comment on exported type ConsulBackend should be of the form "ConsulBackend ..." (with optional leading article) (golint)
    • Line 23: warning: exported function NewConsulBackend should have comment or be unexported (golint)
    • Line 34: warning: exported method ConsulBackend.Close should have comment or be unexported (golint)
    • Line 39: warning: exported method ConsulBackend.Submit should have comment or be unexported (golint)
    • Line 48: warning: exported method ConsulBackend.Subscribe should have comment or be unexported (golint)
    • soil/agent/allocation/paths.go
    • Line 3: warning: exported type SystemPaths should have comment or be unexported (golint)
    • Line 8: warning: exported function DefaultSystemPaths should have comment or be unexported (golint)
    • soil/agent/bus/pipe/fn.go
    • Line 5: warning: exported type Fn should have comment or be unexported (golint)
    • Line 10: warning: exported function NewFn should have comment or be unexported (golint)
    • Line 18: warning: exported method Fn.GetConsumer should have comment or be unexported (golint)
    • Line 22: warning: exported method Fn.ConsumeMessage should have comment or be unexported (golint)
    • soil/agent/resource/sandbox.go
    • Line 24: warning: exported type SandboxConfig should have comment or be unexported (golint)
    • Line 50: warning: exported function NewSandbox should have comment or be unexported (golint)
    • Line 67: warning: comment on exported method Sandbox.Configure should be of the form "Configure ..." (golint)
    • Line 99: warning: exported method Sandbox.Update should have comment or be unexported (golint)
    • Line 116: warning: exported method Sandbox.Destroy should have comment or be unexported (golint)
    • Line 132: warning: comment on exported method Sandbox.Shutdown should be of the form "Shutdown ..." (golint)
    • Line 138: warning: comment on exported method Sandbox.Close should be of the form "Close ..." (golint)
    • Line 260: warning: context.Context should be the first parameter of a function (golint)
    • soil/lib/hcl.go
    • Line 12: warning: exported function ParseHCLMerge should have comment or be unexported (golint)
    • Line 49: warning: exported function ParseHCL should have comment or be unexported (golint)
    • soil/fixture/testing.go
    • Line 10: warning: exported function TestName should have comment or be unexported (golint)
    • Line 16: warning: exported function WaitNoError10 should have comment or be unexported (golint)
    • Line 20: warning: exported function WaitNoError should have comment or be unexported (golint)
    • Line 34: warning: comment on exported function WaitNoErrorT should be of the form "WaitNoErrorT ..." (golint)
    • Line 43: warning: exported function WaitNoErrorT10 should have comment or be unexported (golint)
    • Line 48: warning: exported type WaitConfig should have comment or be unexported (golint)
    • Line 53: warning: exported function DefaultWaitConfig should have comment or be unexported (golint)
    • soil/fixture/consul.go
    • Line 22: warning: exported type ConsulServerConfig should have comment or be unexported (golint)
    • Line 40: warning: exported type ConsulServer should have comment or be unexported (golint)
    • Line 52: warning: exported function NewConsulServer should have comment or be unexported (golint)
    • Line 98: warning: exported method ConsulServer.Address should have comment or be unexported (golint)
    • Line 103: warning: exported method ConsulServer.Up should have comment or be unexported (golint)
    • Line 165: warning: exported method ConsulServer.Pause should have comment or be unexported (golint)
    • Line 184: warning: exported method ConsulServer.Unpause should have comment or be unexported (golint)
    • Line 226: warning: exported method ConsulServer.Down should have comment or be unexported (golint)
    • Line 231: warning: exported method ConsulServer.Clean should have comment or be unexported (golint)
    • Line 238: warning: exported method ConsulServer.WaitAlive should have comment or be unexported (golint)
    • Line 266: warning: exported method ConsulServer.WaitLeader should have comment or be unexported (golint)
    • soil/agent/bus/pipe/tee.go
    • Line 10: warning: exported function NewTee should have comment or be unexported (golint)
    • Line 17: warning: exported method Tee.ConsumeMessage should have comment or be unexported (golint)
    • soil/agent/api/api-server/router.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 19: warning: exported type Router should have comment or be unexported (golint)
    • Line 28: warning: exported function NewRouter should have comment or be unexported (golint)
    • Line 47: warning: exported method Router.GetEndpoint should have comment or be unexported (golint)
    • soil/manifest/unit.go
    • Line 9: warning: exported type Units should have comment or be unexported (golint)
    • Line 11: warning: exported method Units.Empty should have comment or be unexported (golint)
    • Line 21: warning: exported method Units.Append should have comment or be unexported (golint)
    • Line 27: warning: exported type Unit should have comment or be unexported (golint)
    • Line 33: warning: exported method Unit.GetID should have comment or be unexported (golint)
    • Line 37: warning: exported method Unit.ParseAST should have comment or be unexported (golint)
    • Line 44: warning: comment on exported type Transition should be of the form "Transition ..." (with optional leading article) (golint)
    • soil/agent/allocation/header.go
    • Line 13: warning: exported type Header should have comment or be unexported (golint)
    • Line 20: warning: exported method Header.Mark should have comment or be unexported (golint)
    • Line 25: warning: exported method Header.MarshalSpec should have comment or be unexported (golint)
    • Line 33: warning: exported method Header.UnmarshalSpec should have comment or be unexported (golint)
    • soil/manifest/resource.go
    • Line 16: warning: exported type Resources should have comment or be unexported (golint)
    • Line 18: warning: exported method Resources.Empty should have comment or be unexported (golint)
    • Line 22: warning: exported method Resources.Append should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type Resource should be of the form "Resource ..." (with optional leading article) (golint)
    • Line 41: warning: exported method Resource.GetID should have comment or be unexported (golint)
    • Line 45: warning: exported method Resource.ParseAST should have comment or be unexported (golint)
    • Line 63: warning: exported method Resource.Clone should have comment or be unexported (golint)
    • Line 69: warning: comment on exported method Resource.GetRequestConstraint should be of the form "GetRequestConstraint ..." (golint)
    • Line 77: warning: comment on exported method Resource.GetAllocationConstraint should be of the form "GetAllocationConstraint ..." (golint)
    • Line 84: warning: comment on exported method Resource.GetValuesKey should be of the form "GetValuesKey ..." (golint)
    • soil/agent/allocation/unit.go
    • Line 18: warning: exported type UnitSlice should have comment or be unexported (golint)
    • Line 20: warning: exported method UnitSlice.GetEmpty should have comment or be unexported (golint)
    • Line 29: warning: exported method UnitSlice.GetVersionPrefix should have comment or be unexported (golint)
    • Line 34: warning: exported method UnitSlice.AppendItem should have comment or be unexported (golint)
    • Line 38: warning: exported type Unit should have comment or be unexported (golint)
    • Line 43: warning: exported method Unit.MarshalSpec should have comment or be unexported (golint)
    • Line 78: warning: exported type UnitFile should have comment or be unexported (golint)
    • Line 84: warning: exported function NewUnitFile should have comment or be unexported (golint)
    • Line 110: warning: exported method UnitFile.UnitName should have comment or be unexported (golint)
    • Line 115: warning: exported method UnitFile.IsRuntime should have comment or be unexported (golint)
    • soil/agent/allocation/util.go
    • Line 5: warning: comment on exported function IsEqual should be of the form "IsEqual ..." (golint)
    • Line 18: warning: comment on exported function IsBlocked should be of the form "IsBlocked ..." (golint)
    • Line 37: warning: exported function ToString should have comment or be unexported (golint)
    • soil/agent/scheduler/sink.go
    • Line 13: warning: exported type Sink should have comment or be unexported (golint)
    • Line 21: warning: exported method Sink.ConsumeMessage should have comment or be unexported (golint)
    • Line 30: warning: exported function NewSink should have comment or be unexported (golint)
    • Line 44: warning: exported method Sink.ConsumeRegistry should have comment or be unexported (golint)
    • soil/agent/provision/instruction.go
    • Line 53: warning: exported function NewWriteUnitInstruction should have comment or be unexported (golint)
    • Line 59: warning: exported method WriteUnitInstruction.Execute should have comment or be unexported (golint)
    • Line 72: warning: exported function NewDeleteUnitInstruction should have comment or be unexported (golint)
    • Line 76: warning: exported method DeleteUnitInstruction.Execute should have comment or be unexported (golint)
    • Line 85: warning: exported type EnableUnitInstruction should have comment or be unexported (golint)
    • Line 89: warning: exported function NewEnableUnitInstruction should have comment or be unexported (golint)
    • Line 93: warning: exported method EnableUnitInstruction.Execute should have comment or be unexported (golint)
    • Line 98: warning: exported type DisableUnitInstruction should have comment or be unexported (golint)
    • Line 102: warning: exported function NewDisableUnitInstruction should have comment or be unexported (golint)
    • Line 106: warning: exported method DisableUnitInstruction.Execute should have comment or be unexported (golint)
    • Line 111: warning: exported type CommandInstruction should have comment or be unexported (golint)
    • Line 116: warning: exported function NewCommandInstruction should have comment or be unexported (golint)
    • Line 123: warning: exported method CommandInstruction.Execute should have comment or be unexported (golint)
    • Line 164: warning: exported type WriteBlobInstruction should have comment or be unexported (golint)
    • Line 168: warning: exported function NewWriteBlobInstruction should have comment or be unexported (golint)
    • Line 179: warning: exported method WriteBlobInstruction.Execute should have comment or be unexported (golint)
    • Line 184: warning: exported type DestroyBlobInstruction should have comment or be unexported (golint)
    • Line 188: warning: exported function NewDestroyBlobInstruction should have comment or be unexported (golint)
    • Line 199: warning: exported method DestroyBlobInstruction.Execute should have comment or be unexported (golint)
    • soil/agent/api/api-server/server.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 10: warning: exported type Server should have comment or be unexported (golint)
    • Line 16: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 28: warning: exported method Server.Close should have comment or be unexported (golint)
    • Line 35: warning: exported method Server.Open should have comment or be unexported (golint)
    • soil/command/agent.go
    • Line 15: warning: exported type AgentOptions should have comment or be unexported (golint)
    • Line 20: warning: exported method AgentOptions.Bind should have comment or be unexported (golint)
    • Line 27: warning: exported type Agent should have comment or be unexported (golint)
    • Line 32: warning: exported method Agent.Bind should have comment or be unexported (golint)
    • Line 36: warning: exported method Agent.Run should have comment or be unexported (golint)
    • soil/agent/allocation/pod.go
    • Line 25: warning: comment on exported type PodSlice should be of the form "PodSlice ..." (with optional leading article) (golint)
    • Line 28: warning: exported method PodSlice.FromFilesystem should have comment or be unexported (golint)
    • Line 59: warning: exported method Pod.FromManifest should have comment or be unexported (golint)
    • Line 159: warning: exported method Pod.FromFilesystem should have comment or be unexported (golint)
    • Line 184: warning: exported method Pod.GetPodUnit should have comment or be unexported (golint)
    • soil/agent/api/api-server/error.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 11: warning: exported var ErrorBadRequestData should have comment or be unexported (golint)
    • Line 14: warning: exported type Error should have comment or be unexported (golint)
    • Line 19: warning: exported function NewError should have comment or be unexported (golint)
    • Line 31: warning: exported function UnwrapError should have comment or be unexported (golint)
    • soil/agent/allocation/blob.go
    • Line 18: warning: exported type BlobSlice should have comment or be unexported (golint)
    • Line 20: warning: exported method BlobSlice.GetEmpty should have comment or be unexported (golint)
    • Line 27: warning: exported method BlobSlice.GetVersionPrefix should have comment or be unexported (golint)
    • Line 32: warning: exported method BlobSlice.AppendItem should have comment or be unexported (golint)
    • Line 36: warning: exported type Blob should have comment or be unexported (golint)
    • Line 43: warning: exported method Blob.MarshalSpec should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method Blob.UnmarshalSpec should be of the form "UnmarshalSpec ..." (golint)
    • soil/agent/provision/evaluation.go
    • Line 9: warning: exported type Evaluation should have comment or be unexported (golint)
    • Line 17: warning: exported function NewEvaluation should have comment or be unexported (golint)
    • Line 35: warning: exported method Evaluation.Name should have comment or be unexported (golint)
    • Line 40: warning: exported method Evaluation.Plan should have comment or be unexported (golint)
    • Line 61: warning: exported method Evaluation.Explain should have comment or be unexported (golint)
    • Line 181: warning: exported function PlanBlob should have comment or be unexported (golint)
    • soil/agent/cluster/testing_backend.go
    • Line 12: warning: exported type TestingBackendConfig should have comment or be unexported (golint)
    • Line 19: warning: exported function NewTestingBackendFactory should have comment or be unexported (golint)
    • Line 49: warning: comment on exported type TestingBackend should be of the form "TestingBackend ..." (with optional leading article) (golint)
    • Line 55: warning: exported function NewTestingBackend should have comment or be unexported (golint)
    • Line 107: warning: exported method TestingBackend.Submit should have comment or be unexported (golint)
    • Line 135: warning: exported method TestingBackend.Subscribe should have comment or be unexported (golint)
    • soil/manifest/parse.go
    • Line 10: warning: exported type ListParser should have comment or be unexported (golint)
    • Line 15: warning: exported type ObjectParser should have comment or be unexported (golint)
    • Line 20: warning: exported function ParseList should have comment or be unexported (golint)
    • soil/agent/bus/payload.go
    • Line 9: warning: exported type Payload should have comment or be unexported (golint)
    • Line 14: warning: exported function NewPayload should have comment or be unexported (golint)
    • Line 31: warning: exported method Payload.IsEmpty should have comment or be unexported (golint)
    • Line 35: warning: exported method Payload.Hash should have comment or be unexported (golint)
    • Line 42: warning: exported method Payload.Unmarshal should have comment or be unexported (golint)
    • soil/agent/bus/pipe.go
    • Line 8: warning: comment on exported type ReplicatedPipe should be of the form "ReplicatedPipe ..." (with optional leading article) (golint)
    • soil/agent/resource/evaluator.go
    • Line 28: warning: exported type Evaluator should have comment or be unexported (golint)
    • Line 43: warning: exported function NewEvaluator should have comment or be unexported (golint)
    • Line 64: warning: exported method Evaluator.Open should have comment or be unexported (golint)
    • Line 106: warning: comment on exported method Evaluator.GetConstraint should be of the form "GetConstraint ..." (golint)
    • Line 123: warning: exported method Evaluator.Allocate should have comment or be unexported (golint)
    • Line 138: warning: exported method Evaluator.Deallocate should have comment or be unexported (golint)
    • Line 149: warning: comment on exported method Evaluator.CreateProvider should be of the form "CreateProvider ..." (golint)
    • Line 163: warning: exported method Evaluator.UpdateProvider should have comment or be unexported (golint)
    • Line 176: warning: exported method Evaluator.DestroyProvider should have comment or be unexported (golint)
    • soil/lib/map.go
    • Line 3: warning: comment on exported function CloneMap should be of the form "CloneMap ..." (golint)
    • soil/agent/allocation/provider.go
    • Line 14: warning: comment on exported type ProviderSlice should be of the form "ProviderSlice ..." (with optional leading article) (golint)
    • Line 17: warning: exported method ProviderSlice.GetEmpty should have comment or be unexported (golint)
    • Line 22: warning: exported method ProviderSlice.GetVersionPrefix should have comment or be unexported (golint)
    • Line 27: warning: exported method ProviderSlice.FromManifest should have comment or be unexported (golint)
    • Line 37: warning: exported method ProviderSlice.AppendItem should have comment or be unexported (golint)
    • Line 41: warning: exported type Provider should have comment or be unexported (golint)
    • Line 43: warning: exported method Provider.GetID should have comment or be unexported (golint)
    • Line 47: warning: comment on exported method Provider.UnmarshalSpec should be of the form "UnmarshalSpec ..." (golint)
    • Line 53: warning: exported method Provider.MarshalSpec should have comment or be unexported (golint)
    • Line 61: warning: exported method Provider.Clone should have comment or be unexported (golint)
    • soil/agent/allocation/spec.go
    • Line 13: warning: exported const SpecRevision should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type Spec should have comment or be unexported (golint)
    • Line 20: warning: exported method Spec.Unmarshal should have comment or be unexported (golint)
    • Line 30: warning: exported method Spec.Marshal should have comment or be unexported (golint)
    • Line 38: warning: exported method Spec.UnmarshalAssetSlice should have comment or be unexported (golint)
    • soil/command/nodes.go
    • Line 10: warning: exported type ClientURLOptions should have comment or be unexported (golint)
    • Line 16: warning: exported type ClientOutputOptions should have comment or be unexported (golint)
    • Line 19: warning: exported type Nodes should have comment or be unexported (golint)
    • Line 24: warning: exported method Nodes.Bind should have comment or be unexported (golint)
    • Line 29: warning: exported method Nodes.Run should have comment or be unexported (golint)
    • soil/proto/agent.go
    • Line 4: warning: exported const V1AgentStop should have comment (or a comment on this block) or be unexported (golint)
    • soil/agent/provider/evaluator.go
    • Line 12: warning: comment on exported type Evaluator should be of the form "Evaluator ..." (with optional leading article) (golint)
    • Line 25: warning: exported function NewEvaluator should have comment or be unexported (golint)
    • Line 45: warning: exported method Evaluator.Open should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method Evaluator.GetConstraint should be of the form "GetConstraint ..." (golint)
    • soil/agent/scheduler/arbiter.go
    • Line 18: warning: exported type ArbiterConfig should have comment or be unexported (golint)
    • Line 23: warning: exported type Arbiter should have comment or be unexported (golint)
    • Line 38: warning: exported function NewArbiter should have comment or be unexported (golint)
    • Line 52: warning: exported method Arbiter.Open should have comment or be unexported (golint)
    • Line 83: warning: exported method Arbiter.ConsumeMessage should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign70%

IneffAssign detects ineffectual assignments in Go code.

    • soil/manifest/pod.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/soil/lib (invalid package name: "") (ineffassign)
    • Line 42: warning: undeclared name: multierror (ineffassign)
    • Line 44: warning: undeclared name: multierror (ineffassign)
    • Line 45: warning: undeclared name: multierror (ineffassign)
    • Line 47: warning: undeclared name: multierror (ineffassign)
    • Line 69: warning: undeclared name: multierror (ineffassign)
    • Line 72: warning: undeclared name: multierror (ineffassign)
    • Line 72: warning: undeclared name: multierror (ineffassign)
    • Line 77: warning: undeclared name: multierror (ineffassign)
    • Line 78: warning: undeclared name: multierror (ineffassign)
    • Line 79: warning: undeclared name: multierror (ineffassign)
    • Line 80: warning: undeclared name: multierror (ineffassign)
    • Line 82: warning: undeclared name: multierror (ineffassign)
    • Line 6: warning: "github.com/hashicorp/go-multierror" imported but not used (ineffassign)
    • soil/agent/cluster/config.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/hashicorp/hcl (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/hashicorp/hcl/hcl/ast (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/mitchellh/hashstructure (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/mitchellh/mapstructure (invalid package name: "") (ineffassign)
    • Line 7: warning: "github.com/hashicorp/hcl/hcl/ast" imported but not used (ineffassign)
    • soil/agent/cluster/kv_watch_group.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/nu7hatch/gouuid (invalid package name: "") (ineffassign)
    • Line 63: warning: undeclared name: uuid (ineffassign)
    • Line 9: warning: "github.com/nu7hatch/gouuid" imported but not used (ineffassign)
    • soil/agent/provision/fixture_test.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/akaspin/soil/agent/allocation (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/soil/lib (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/soil/manifest (invalid package name: "") (ineffassign)
    • soil/agent/server.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 18: warning: cannot find package "." in: (ineffassign)
    • Line 19: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/soil/agent/allocation (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/soil/agent/api (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/akaspin/soil/agent/api/api-server (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/akaspin/soil/agent/bus (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/akaspin/soil/agent/bus/pipe (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/akaspin/soil/agent/cluster (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/akaspin/soil/agent/provider (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/akaspin/soil/agent/provision (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/akaspin/soil/agent/resource (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/akaspin/soil/agent/scheduler (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/akaspin/soil/lib (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/akaspin/soil/manifest (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import github.com/akaspin/soil/proto (invalid package name: "") (ineffassign)
    • Line 19: warning: could not import github.com/akaspin/supervisor (invalid package name: "") (ineffassign)
    • Line 43: warning: undeclared name: api_server (ineffassign)
    • Line 45: warning: undeclared name: api_server (ineffassign)
    • Line 46: warning: undeclared name: api_server (ineffassign)
    • Line 143: warning: undeclared name: api_server (ineffassign)
    • Line 178: warning: undeclared name: api_server (ineffassign)
    • Line 8: warning: "github.com/akaspin/soil/agent/api/api-server" imported but not used (ineffassign)
    • soil/agent/cluster/backend.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/soil/agent/bus (invalid package name: "") (ineffassign)
    • soil/manifest/blob.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/hashicorp/hcl (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/hashicorp/hcl/hcl/ast (invalid package name: "") (ineffassign)
    • soil/manifest/resource.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/mitchellh/copystructure (invalid package name: "") (ineffassign)
    • soil/agent/provider/evaluator.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/soil/agent/allocation (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/soil/manifest (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/akaspin/supervisor (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/mitchellh/copystructure (invalid package name: "") (ineffassign)
    • soil/agent/resource/estimator/base.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/soil/agent/allocation (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/soil/agent/bus (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/akaspin/soil/manifest (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/nu7hatch/gouuid (invalid package name: "") (ineffassign)
    • Line 49: warning: undeclared name: uuid (ineffassign)
    • Line 9: warning: "github.com/nu7hatch/gouuid" imported but not used (ineffassign)
    • soil/agent/allocation/resource.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/hashicorp/go-multierror (invalid package name: "") (ineffassign)
    • Line 32: warning: undeclared name: multierror (ineffassign)
    • Line 37: warning: undeclared name: multierror (ineffassign)
    • Line 41: warning: undeclared name: multierror (ineffassign)
    • Line 7: warning: "github.com/hashicorp/go-multierror" imported but not used (ineffassign)
    • soil/agent/provision/evaluator.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/akaspin/soil/agent/bus (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/akaspin/soil/manifest (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/akaspin/supervisor (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/coreos/go-systemd/dbus (invalid package name: "") (ineffassign)
    • soil/lib/static_buffers.go
    • Line 14: warning: undeclared name: multierror (ineffassign)
    • Line 17: warning: undeclared name: multierror (ineffassign)
    • Line 20: warning: undeclared name: multierror (ineffassign)
    • Line 5: warning: "github.com/hashicorp/go-multierror" imported but not used (ineffassign)
    • soil/command/version.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/soil/proto (invalid package name: "") (ineffassign)
    • Line 20: warning: c.Stderr undefined (type *Version has no field or method Stderr) (ineffassign)
    • soil/agent/api/status_nodes.go
    • Line 13: warning: undeclared name: api_server (ineffassign)
    • Line 14: warning: undeclared name: api_server (ineffassign)
    • Line 6: warning: "github.com/akaspin/soil/agent/api/api-server" imported but not used (ineffassign)
    • soil/agent/resource/plan.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/mitchellh/hashstructure (invalid package name: "") (ineffassign)
    • soil/agent/allocation/provider.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/mitchellh/copystructure (invalid package name: "") (ineffassign)
    • Line 44: warning: p.Name undefined (type *Provider has no field or method Name) (ineffassign)
    • soil/agent/cluster/consul_backend.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/hashicorp/consul/api (invalid package name: "") (ineffassign)
    • Line 139: warning: key declared but not used (ineffassign)
    • Line 162: warning: valJson declared but not used (ineffassign)
    • soil/agent/api/status_ping.go
    • Line 7: warning: undeclared name: api_server (ineffassign)
    • Line 8: warning: undeclared name: api_server (ineffassign)
    • Line 4: warning: "github.com/akaspin/soil/agent/api/api-server" imported but not used (ineffassign)
    • soil/agent/api/api-server/router.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/soil/agent/bus (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/soil/proto (invalid package name: "") (ineffassign)
    • soil/agent/allocation/spec.go
    • Line 39: warning: undeclared name: multierror (ineffassign)
    • Line 46: warning: undeclared name: multierror (ineffassign)
    • Line 52: warning: undeclared name: multierror (ineffassign)
    • Line 5: warning: "github.com/hashicorp/go-multierror" imported but not used (ineffassign)
    • soil/manifest/parse.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/hashicorp/go-multierror (invalid package name: "") (ineffassign)
    • Line 22: warning: undeclared name: multierror (ineffassign)
    • Line 28: warning: undeclared name: multierror (ineffassign)
    • Line 42: warning: undeclared name: multierror (ineffassign)
    • Line 45: warning: undeclared name: multierror (ineffassign)
    • Line 48: warning: undeclared name: multierror (ineffassign)
    • Line 5: warning: "github.com/hashicorp/go-multierror" imported but not used (ineffassign)
    • soil/agent/scheduler/arbiter.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/soil/agent/bus (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/soil/manifest (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/akaspin/supervisor (invalid package name: "") (ineffassign)
    • soil/agent/scheduler/sink.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/soil/agent/allocation (invalid package name: "") (ineffassign)
    • soil/command/agent.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/cut (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/soil/agent (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/spf13/cobra (invalid package name: "") (ineffassign)
    • soil/agent/provider/plan.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/mitchellh/hashstructure (invalid package name: "") (ineffassign)
    • soil/command/soil/main.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/soil/command (invalid package name: "") (ineffassign)
    • soil/agent/resource/estimator.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/soil/agent/allocation (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/soil/agent/resource/estimator (invalid package name: "") (ineffassign)
    • soil/agent/config.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/hashicorp/hcl (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/hashicorp/hcl/hcl/ast (invalid package name: "") (ineffassign)
    • Line 7: warning: "github.com/hashicorp/hcl/hcl/ast" imported but not used (ineffassign)
    • soil/agent/api/api-server/server.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/supervisor (invalid package name: "") (ineffassign)
    • Line 29: warning: s.Ctx undefined (type *Server has no field or method Ctx) (ineffassign)
    • soil/fixture/consul.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/docker/docker/api/types (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/docker/docker/api/types/container (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/docker/docker/api/types/filters (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/docker/docker/client (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/docker/go-connections/nat (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/nu7hatch/gouuid (invalid package name: "") (ineffassign)
    • Line 56: warning: undeclared name: uuid (ineffassign)
    • Line 56: warning: undeclared name: uuid (ineffassign)
    • Line 12: warning: "github.com/nu7hatch/gouuid" imported but not used (ineffassign)
    • soil/agent/cluster/kv.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/akaspin/supervisor (invalid package name: "") (ineffassign)
    • soil/lib/hcl.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/hashicorp/go-multierror (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/hashicorp/hcl (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/hashicorp/hcl/hcl/ast (invalid package name: "") (ineffassign)
    • Line 13: warning: undeclared name: multierror (ineffassign)
    • Line 20: warning: undeclared name: multierror (ineffassign)
    • Line 25: warning: undeclared name: multierror (ineffassign)
    • Line 30: warning: undeclared name: multierror (ineffassign)
    • Line 38: warning: undeclared name: multierror (ineffassign)
    • Line 43: warning: undeclared name: multierror (ineffassign)
    • Line 45: warning: undeclared name: multierror (ineffassign)
    • Line 50: warning: undeclared name: multierror (ineffassign)
    • Line 56: warning: undeclared name: multierror (ineffassign)
    • Line 61: warning: undeclared name: multierror (ineffassign)
    • Line 67: warning: undeclared name: multierror (ineffassign)
    • Line 72: warning: undeclared name: multierror (ineffassign)
    • Line 6: warning: "github.com/hashicorp/go-multierror" imported but not used (ineffassign)
    • soil/agent/api/registry.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/akaspin/soil/agent/bus (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/akaspin/soil/manifest (invalid package name: "") (ineffassign)
    • Line 19: warning: undeclared name: api_server (ineffassign)
    • Line 52: warning: undeclared name: api_server (ineffassign)
    • Line 82: warning: undeclared name: api_server (ineffassign)
    • Line 20: warning: undeclared name: api_server (ineffassign)
    • Line 53: warning: undeclared name: api_server (ineffassign)
    • Line 71: warning: undeclared name: api_server (ineffassign)
    • Line 83: warning: undeclared name: api_server (ineffassign)
    • Line 101: warning: undeclared name: api_server (ineffassign)
    • Line 7: warning: "github.com/akaspin/soil/agent/api/api-server" imported but not used (ineffassign)
    • soil/agent/resource/evaluator.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/akaspin/logx (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/akaspin/soil/agent/bus (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/akaspin/soil/agent/bus/pipe (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/akaspin/soil/manifest (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/akaspin/supervisor (invalid package name: "") (ineffassign)
    • Line 83: warning: k declared but not used (ineffassign)
    • soil/agent/api/agent.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/akaspin/soil/agent/api/api-server (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/akaspin/soil/proto (invalid package name: "") (ineffassign)
    • Line 11: warning: undeclared name: api_server (ineffassign)
    • Line 19: warning: undeclared name: api_server (ineffassign)
    • Line 31: warning: undeclared name: api_server (ineffassign)
    • Line 39: warning: undeclared name: api_server (ineffassign)
    • Line 12: warning: undeclared name: api_server (ineffassign)
    • Line 20: warning: undeclared name: api_server (ineffassign)
    • Line 32: warning: undeclared name: api_server (ineffassign)
    • Line 40: warning: undeclared name: api_server (ineffassign)
    • Line 4: warning: "github.com/akaspin/soil/agent/api/api-server" imported but not used (ineffassign)
    • soil/fixture/systemd.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/coreos/go-systemd/dbus (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/mitchellh/hashstructure (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!