Preparing report...

Report for github.com/yandex/pandora

A+    Excellent!    Found 92 issues across 150 files

Tweet

gofmt91%

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!


gocyclo98%

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.


golint44%

Golint is a linter for Go source code.

    • pandora/lib/monitoring/counter.go
    • Line 17: warning: exported type Counter should have comment or be unexported (golint)
    • Line 27: warning: exported method Counter.Add should have comment or be unexported (golint)
    • Line 31: warning: exported method Counter.Set should have comment or be unexported (golint)
    • Line 35: warning: exported method Counter.Get should have comment or be unexported (golint)
    • Line 39: warning: exported function NewCounter should have comment or be unexported (golint)
    • pandora/core/aggregator/encoder.go
    • Line 20: warning: exported type NewSampleEncoder should have comment or be unexported (golint)
    • Line 38: warning: comment on exported type SampleEncodeCloser should be of the form "SampleEncodeCloser ..." (with optional leading article) (golint)
    • Line 44: warning: exported type EncoderAggregatorConfig should have comment or be unexported (golint)
    • Line 51: warning: exported function DefaultEncoderAggregatorConfig should have comment or be unexported (golint)
    • pandora/components/phttp/ammo/simple/provider.go
    • Line 19: warning: exported function NewProvider should have comment or be unexported (golint)
    • Line 29: warning: exported type Provider should have comment or be unexported (golint)
    • Line 39: warning: exported method Provider.Acquire should have comment or be unexported (golint)
    • Line 47: warning: exported method Provider.Release should have comment or be unexported (golint)
    • Line 51: warning: exported method Provider.Run should have comment or be unexported (golint)
    • pandora/core/aggregator/jsonlines.go
    • Line 20: warning: exported type JSONLineAggregatorConfig should have comment or be unexported (golint)
    • Line 25: warning: exported type JSONLineEncoderConfig should have comment or be unexported (golint)
    • Line 38: warning: exported function DefaultJSONLinesAggregatorConfig should have comment or be unexported (golint)
    • Line 44: warning: comment on exported function NewJSONLinesAggregator should be of the form "NewJSONLinesAggregator ..." (golint)
    • Line 54: warning: exported function NewJSONEncoder should have comment or be unexported (golint)
    • pandora/core/provider/decoder.go
    • Line 21: warning: exported type NewAmmoDecoder should have comment or be unexported (golint)
    • Line 25: warning: comment on exported type AmmoDecoder should be of the form "AmmoDecoder ..." (with optional leading article) (golint)
    • Line 34: warning: exported type AmmoDecoderFunc should have comment or be unexported (golint)
    • Line 36: warning: exported method AmmoDecoderFunc.Decode should have comment or be unexported (golint)
    • Line 40: warning: exported function NewDecodeProvider should have comment or be unexported (golint)
    • Line 48: warning: exported type DecodeProviderConfig should have comment or be unexported (golint)
    • Line 57: warning: exported function DefaultDecodeProviderConfig should have comment or be unexported (golint)
    • Line 63: warning: exported type DecodeProvider should have comment or be unexported (golint)
    • Line 72: warning: exported method DecodeProvider.Run should have comment or be unexported (golint)
    • pandora/lib/ginkgoutil/ginkgo.go
    • Line 21: warning: exported function SetupSuite should have comment or be unexported (golint)
    • Line 27: warning: exported function RunSuite should have comment or be unexported (golint)
    • Line 32: warning: exported function ReplaceGlobalLogger should have comment or be unexported (golint)
    • Line 39: warning: exported function NewLogger should have comment or be unexported (golint)
    • Line 47: warning: exported type Mock should have comment or be unexported (golint)
    • Line 52: warning: exported function AssertExpectations should have comment or be unexported (golint)
    • Line 58: warning: exported function AssertNotCalled should have comment or be unexported (golint)
    • Line 62: warning: exported function ParseYAML should have comment or be unexported (golint)
    • pandora/core/provider/queue.go
    • Line 14: warning: exported type AmmoQueueConfig should have comment or be unexported (golint)
    • Line 22: warning: exported const DefaultAmmoQueueSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported function DefaultAmmoQueueConfig should have comment or be unexported (golint)
    • Line 31: warning: exported function NewAmmoQueue should have comment or be unexported (golint)
    • Line 40: warning: exported type AmmoQueue should have comment or be unexported (golint)
    • Line 45: warning: exported method AmmoQueue.Acquire should have comment or be unexported (golint)
    • Line 50: warning: exported method AmmoQueue.Release should have comment or be unexported (golint)
    • pandora/core/config/validator.go
    • Line 31: warning: exported function Validate should have comment or be unexported (golint)
    • Line 59: warning: exported type StringValidation should have comment or be unexported (golint)
    • Line 71: warning: exported type ValidateHandle should have comment or be unexported (golint)
    • Line 76: warning: exported type CustomValidation should have comment or be unexported (golint)
    • pandora/core/config/config.go
    • Line 14: warning: exported const TagName should have comment or be unexported (golint)
    • Line 16: warning: comment on exported function Decode should be of the form "Decode ..." (golint)
    • Line 25: warning: exported function DecodeAndValidate should have comment or be unexported (golint)
    • Line 71: warning: exported type TypeHook should have comment or be unexported (golint)
    • Line 72: warning: exported type KindHook should have comment or be unexported (golint)
    • Line 74: warning: comment on exported function AddTypeHook should be of the form "AddTypeHook ..." (golint)
    • Line 80: warning: exported function AddKindHook should have comment or be unexported (golint)
    • Line 85: warning: exported function DefaultHooks should have comment or be unexported (golint)
    • Line 96: warning: exported function GetHooks should have comment or be unexported (golint)
    • Line 99: warning: exported function SetHooks should have comment or be unexported (golint)
    • pandora/core/aggregator/netsample/test.go
    • Line 14: warning: exported type TestAggregator should have comment or be unexported (golint)
    • Line 20: warning: exported method TestAggregator.Run should have comment or be unexported (golint)
    • Line 25: warning: exported method TestAggregator.Report should have comment or be unexported (golint)
    • pandora/core/datasource/std.go
    • Line 18: warning: exported function NewBuffer should have comment or be unexported (golint)
    • Line 57: warning: exported function NewString should have comment or be unexported (golint)
    • Line 70: warning: exported type InlineConfig should have comment or be unexported (golint)
    • Line 74: warning: exported function NewInline should have comment or be unexported (golint)
    • pandora/components/phttp/http.go
    • Line 14: warning: exported type ClientGunConfig should have comment or be unexported (golint)
    • Line 20: warning: exported type HTTPGunConfig should have comment or be unexported (golint)
    • Line 25: warning: exported type HTTP2GunConfig should have comment or be unexported (golint)
    • Line 30: warning: exported function NewHTTPGun should have comment or be unexported (golint)
    • Line 49: warning: exported function NewClientGun should have comment or be unexported (golint)
    • Line 71: warning: exported type HTTPGun should have comment or be unexported (golint)
    • Line 80: warning: exported method HTTPGun.Do should have comment or be unexported (golint)
    • Line 87: warning: exported function DefaultHTTPGunConfig should have comment or be unexported (golint)
    • Line 94: warning: exported function DefaultHTTP2GunConfig should have comment or be unexported (golint)
    • Line 103: warning: exported function DefaultClientGunConfig should have comment or be unexported (golint)
    • pandora/core/coreutil/data.go
    • Line 14: warning: exported type DataSinkFunc should have comment or be unexported (golint)
    • Line 16: warning: exported method DataSinkFunc.OpenSink should have comment or be unexported (golint)
    • Line 22: warning: exported type DataSourceFunc should have comment or be unexported (golint)
    • Line 24: warning: exported method DataSourceFunc.OpenSource should have comment or be unexported (golint)
    • pandora/core/coretest/schedule.go
    • Line 15: warning: exported function ExpectScheduleNextsStartAt should have comment or be unexported (golint)
    • Line 24: warning: exported function ExpectScheduleNexts should have comment or be unexported (golint)
    • Line 30: warning: comment on exported function DrainScheduleDuration should be of the form "DrainScheduleDuration ..." (golint)
    • pandora/core/plugin/pluginconfig/hooks.go
    • Line 24: warning: exported function AddHooks should have comment or be unexported (golint)
    • Line 29: warning: exported const PluginNameKey should have comment or be unexported (golint)
    • Line 31: warning: exported function Hook should have comment or be unexported (golint)
    • Line 42: warning: exported function FactoryHook should have comment or be unexported (golint)
    • pandora/core/schedule/step.go
    • Line 14: warning: exported function NewStep should have comment or be unexported (golint)
    • Line 28: warning: exported type StepConfig should have comment or be unexported (golint)
    • Line 35: warning: exported function NewStepConf should have comment or be unexported (golint)
    • pandora/cli/cli.go
    • Line 28: warning: exported const Version should have comment or be unexported (golint)
    • Line 86: warning: exported function Run should have comment or be unexported (golint)
    • pandora/components/grpc/core.go
    • Line 24: warning: exported type Ammo should have comment or be unexported (golint)
    • Line 31: warning: exported type Sample should have comment or be unexported (golint)
    • Line 36: warning: exported type GunConfig should have comment or be unexported (golint)
    • Line 40: warning: exported type Gun should have comment or be unexported (golint)
    • Line 51: warning: exported function NewGun should have comment or be unexported (golint)
    • Line 55: warning: exported method Gun.Bind should have comment or be unexported (golint)
    • Line 101: warning: exported method Gun.Shoot should have comment or be unexported (golint)
    • pandora/core/aggregator/test.go
    • Line 15: warning: exported function NewTest should have comment or be unexported (golint)
    • Line 19: warning: exported type Test should have comment or be unexported (golint)
    • Line 26: warning: exported method Test.Run should have comment or be unexported (golint)
    • Line 31: warning: exported method Test.Report should have comment or be unexported (golint)
    • Line 37: warning: exported method Test.GetSamples should have comment or be unexported (golint)
    • pandora/core/import/import.go
    • Line 33: warning: comment on exported function GetFs should be of the form "GetFs ..." (golint)
    • Line 38: warning: exported function Import should have comment or be unexported (golint)
    • Line 114: warning: exported type PluginConfigStringHook should have comment or be unexported (golint)
    • Line 121: warning: exported function AddSinkConfigHook should have comment or be unexported (golint)
    • Line 125: warning: exported function AddSourceConfigHook should have comment or be unexported (golint)
    • Line 129: warning: exported function RegisterCustomJSONProvider should have comment or be unexported (golint)
    • pandora/core/coretest/sink.go
    • Line 21: warning: exported function AssertSinkEqualStdStream should have comment or be unexported (golint)
    • Line 46: warning: exported function AssertSinkEqualFile should have comment or be unexported (golint)
    • pandora/core/schedule/const.go
    • Line 14: warning: exported type ConstConfig should have comment or be unexported (golint)
    • Line 19: warning: exported function NewConstConf should have comment or be unexported (golint)
    • Line 23: warning: exported function NewConst should have comment or be unexported (golint)
    • pandora/core/aggregator/netsample/sample.go
    • Line 19: warning: exported const ProtoCodeError should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported function Acquire should have comment or be unexported (golint)
    • Line 49: warning: exported type Sample should have comment or be unexported (golint)
    • Line 57: warning: exported method Sample.Tags should have comment or be unexported (golint)
    • Line 58: warning: exported method Sample.AddTag should have comment or be unexported (golint)
    • Line 66: warning: exported method Sample.ID should have comment or be unexported (golint)
    • Line 67: warning: exported method Sample.SetID should have comment or be unexported (golint)
    • Line 69: warning: exported method Sample.ProtoCode should have comment or be unexported (golint)
    • Line 70: warning: exported method Sample.SetProtoCode should have comment or be unexported (golint)
    • Line 75: warning: exported method Sample.Err should have comment or be unexported (golint)
    • Line 76: warning: exported method Sample.SetErr should have comment or be unexported (golint)
    • Line 91: warning: exported method Sample.SetUserDuration should have comment or be unexported (golint)
    • Line 95: warning: exported method Sample.SetUserProto should have comment or be unexported (golint)
    • Line 99: warning: exported method Sample.SetUserNet should have comment or be unexported (golint)
    • Line 103: warning: exported method Sample.SetLatency should have comment or be unexported (golint)
    • Line 107: warning: exported method Sample.SetRequestBytes should have comment or be unexported (golint)
    • Line 111: warning: exported method Sample.SetResponceBytes should have comment or be unexported (golint)
    • pandora/examples/custom_pandora/custom_main.go
    • Line 22: warning: exported type Ammo should have comment or be unexported (golint)
    • Line 27: warning: exported type Sample should have comment or be unexported (golint)
    • Line 32: warning: exported type GunConfig should have comment or be unexported (golint)
    • Line 36: warning: exported type Gun should have comment or be unexported (golint)
    • Line 45: warning: exported function NewGun should have comment or be unexported (golint)
    • Line 49: warning: exported method Gun.Bind should have comment or be unexported (golint)
    • Line 55: warning: exported method Gun.Shoot should have comment or be unexported (golint)
    • pandora/lib/ioutil2/reader.go
    • Line 10: warning: exported type ReaderWrapper should have comment or be unexported (golint)
    • Line 16: warning: exported function NewMultiPassReader should have comment or be unexported (golint)
    • Line 27: warning: exported type MultiPassReader should have comment or be unexported (golint)
    • pandora/components/phttp/ammo/simple/uripost/decoder_test.go
    • Line 29: warning: don't use underscores in Go names; struct field err_msg should be errMsg (golint)
    • Line 55: warning: don't use underscores in Go names; var d_size should be dSize (golint)
    • Line 55: warning: don't use underscores in Go names; var d_uri should be dURI (golint)
    • Line 55: warning: don't use underscores in Go names; var d_tag should be dTag (golint)
    • Line 66: warning: don't use underscores in Go names; struct field err_msg should be errMsg (golint)
    • pandora/core/coretest/source.go
    • Line 22: warning: exported function AssertSourceEqualStdStream should have comment or be unexported (golint)
    • Line 46: warning: exported function AssertSourceEqualFile should have comment or be unexported (golint)
    • pandora/lib/errutil/errutil.go
    • Line 15: warning: exported type StackTracer should have comment or be unexported (golint)
    • Line 19: warning: comment on exported function Join should be of the form "Join ..." (golint)
    • Line 31: warning: exported function IsNotCtxError should have comment or be unexported (golint)
    • pandora/lib/ioutil2/funcs.go
    • Line 6: warning: exported type ReaderFunc should have comment or be unexported (golint)
    • Line 7: warning: exported type WriterFunc should have comment or be unexported (golint)
    • Line 8: warning: exported type CloserFunc should have comment or be unexported (golint)
    • Line 12: warning: exported method CloserFunc.Close should have comment or be unexported (golint)
    • Line 14: warning: exported type StringerFunc should have comment or be unexported (golint)
    • pandora/lib/ioutil2/writer.go
    • Line 14: warning: exported type StringWriter should have comment or be unexported (golint)
    • Line 30: warning: exported function NewCallbackWriter should have comment or be unexported (golint)
    • pandora/core/provider/num.go
    • Line 23: warning: exported type NumConfig should have comment or be unexported (golint)
    • Line 27: warning: exported function NewNumConf should have comment or be unexported (golint)
    • pandora/core/schedule/composite.go
    • Line 15: warning: exported type CompositeConf should have comment or be unexported (golint)
    • Line 19: warning: exported function NewCompositeConf should have comment or be unexported (golint)
    • Line 23: warning: exported function NewComposite should have comment or be unexported (golint)
    • pandora/core/schedule/line.go
    • Line 15: warning: exported function NewLine should have comment or be unexported (golint)
    • Line 26: warning: exported type LineConfig should have comment or be unexported (golint)
    • Line 32: warning: exported function NewLineConf should have comment or be unexported (golint)
    • pandora/lib/netutil/dial.go
    • Line 18: warning: exported type Dialer should have comment or be unexported (golint)
    • Line 24: warning: exported type DialerFunc should have comment or be unexported (golint)
    • Line 26: warning: exported method DialerFunc.DialContext should have comment or be unexported (golint)
    • Line 53: warning: exported var DefaultDNSCache should have comment or be unexported (golint)
    • Line 87: warning: exported type DNSCache should have comment or be unexported (golint)
    • Line 92: warning: exported type SimpleDNSCache should have comment or be unexported (golint)
    • Line 97: warning: exported method SimpleDNSCache.Get should have comment or be unexported (golint)
    • Line 108: warning: exported method SimpleDNSCache.Add should have comment or be unexported (golint)
    • pandora/components/phttp/client.go
    • Line 24: warning: exported type Client should have comment or be unexported (golint)
    • Line 29: warning: exported type ClientConfig should have comment or be unexported (golint)
    • Line 35: warning: exported function DefaultClientConfig should have comment or be unexported (golint)
    • Line 57: warning: exported function DefaultDialerConfig should have comment or be unexported (golint)
    • Line 66: warning: exported function NewDialer should have comment or be unexported (golint)
    • Line 88: warning: exported function DefaultTransportConfig should have comment or be unexported (golint)
    • Line 98: warning: exported function NewTransport should have comment or be unexported (golint)
    • Line 109: warning: exported function NewHTTP2Transport should have comment or be unexported (golint)
    • pandora/lib/testutil/afero.go
    • Line 17: warning: exported function ReadString should have comment or be unexported (golint)
    • Line 23: warning: exported function ReadFileString should have comment or be unexported (golint)
    • Line 31: warning: exported function AssertFileEqual should have comment or be unexported (golint)
    • pandora/core/engine/engine.go
    • Line 22: warning: exported type Config should have comment or be unexported (golint)
    • Line 26: warning: exported type InstancePoolConfig should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type Metrics should be of the form "Metrics ..." (with optional leading article) (golint)
    • Line 46: warning: exported function New should have comment or be unexported (golint)
    • Line 50: warning: exported type Engine should have comment or be unexported (golint)
    • pandora/core/datasink/file.go
    • Line 19: warning: exported type FileConfig should have comment or be unexported (golint)
    • Line 23: warning: exported function NewFile should have comment or be unexported (golint)
    • Line 36: warning: exported function NewStdout should have comment or be unexported (golint)
    • Line 40: warning: exported function NewStderr should have comment or be unexported (golint)
    • pandora/components/example/example.go
    • Line 19: warning: exported type Ammo should have comment or be unexported (golint)
    • Line 23: warning: exported function NewGun should have comment or be unexported (golint)
    • Line 27: warning: exported type Gun should have comment or be unexported (golint)
    • Line 34: warning: exported method Gun.Bind should have comment or be unexported (golint)
    • Line 40: warning: exported method Gun.Shoot should have comment or be unexported (golint)
    • Line 48: warning: exported type ProviderConfig should have comment or be unexported (golint)
    • Line 52: warning: exported function DefaultProviderConfig should have comment or be unexported (golint)
    • Line 56: warning: exported function NewProvider should have comment or be unexported (golint)
    • Line 64: warning: exported type Provider should have comment or be unexported (golint)
    • Line 72: warning: exported method Provider.Acquire should have comment or be unexported (golint)
    • Line 77: warning: exported method Provider.Release should have comment or be unexported (golint)
    • Line 81: warning: exported method Provider.Run should have comment or be unexported (golint)
    • pandora/core/coreutil/buffer_size_config.go
    • Line 12: warning: exported const DefaultBufferSize should have comment or be unexported (golint)
    • Line 13: warning: exported const MinimalBufferSize should have comment or be unexported (golint)
    • Line 21: warning: exported method BufferSizeConfig.BufferSizeOrDefault should have comment or be unexported (golint)
    • pandora/components/phttp/ammo/simple/ammo.go
    • Line 15: warning: exported type Ammo should have comment or be unexported (golint)
    • Line 24: warning: exported method Ammo.Request should have comment or be unexported (golint)
    • Line 30: warning: exported method Ammo.Reset should have comment or be unexported (golint)
    • Line 34: warning: exported method Ammo.SetID should have comment or be unexported (golint)
    • Line 38: warning: exported method Ammo.ID should have comment or be unexported (golint)
    • Line 42: warning: exported method Ammo.Invalidate should have comment or be unexported (golint)
    • Line 46: warning: exported method Ammo.IsInvalid should have comment or be unexported (golint)
    • Line 50: warning: exported method Ammo.IsValid should have comment or be unexported (golint)
    • pandora/core/register/register.go
    • Line 13: warning: exported function RegisterPtr should have comment or be unexported (golint)
    • Line 17: warning: exported function Provider should have comment or be unexported (golint)
    • Line 22: warning: exported function Limiter should have comment or be unexported (golint)
    • Line 27: warning: exported function Gun should have comment or be unexported (golint)
    • Line 32: warning: exported function Aggregator should have comment or be unexported (golint)
    • Line 37: warning: exported function DataSource should have comment or be unexported (golint)
    • Line 42: warning: exported function DataSink should have comment or be unexported (golint)
    • pandora/core/datasource/file.go
    • Line 19: warning: exported type FileConfig should have comment or be unexported (golint)
    • Line 23: warning: exported function NewFile should have comment or be unexported (golint)
    • Line 36: warning: exported function NewStdin should have comment or be unexported (golint)
    • pandora/core/config/hooks.go
    • Line 25: warning: error var InvalidURLError should have name of the form ErrFoo (golint)
    • Line 25: warning: exported var InvalidURLError should have comment or be unexported (golint)
    • Line 56: warning: exported var ErrInvalidIP should have comment or be unexported (golint)
    • Line 92: warning: exported function TextUnmarshallerHook should have comment or be unexported (golint)
    • pandora/core/provider/chunk_decoder.go
    • Line 17: warning: exported var ErrNoAmmoDecoded should have comment or be unexported (golint)
    • Line 34: warning: exported function NewScanDecoder should have comment or be unexported (golint)
    • Line 47: warning: exported type ScanAmmoDecoder should have comment or be unexported (golint)
    • Line 55: warning: exported method ScanAmmoDecoder.Decode should have comment or be unexported (golint)
    • pandora/components/phttp/base.go
    • Line 23: warning: exported const EmptyTag should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type BaseGunConfig should have comment or be unexported (golint)
    • Line 38: warning: exported function DefaultBaseGunConfig should have comment or be unexported (golint)
    • Line 47: warning: exported type BaseGun should have comment or be unexported (golint)
    • Line 60: warning: exported method BaseGun.Bind should have comment or be unexported (golint)
    • Line 141: warning: exported method BaseGun.Close should have comment or be unexported (golint)
    • pandora/core/aggregator/netsample/phout.go
    • Line 19: warning: exported type PhoutConfig should have comment or be unexported (golint)
    • Line 27: warning: exported function DefaultPhoutConfig should have comment or be unexported (golint)
    • Line 37: warning: exported function NewPhout should have comment or be unexported (golint)
    • pandora/core/provider/json.go
    • Line 39: warning: exported type JSONProviderConfig should have comment or be unexported (golint)
    • Line 44: warning: exported function DefaultJSONProviderConfig should have comment or be unexported (golint)
    • Line 48: warning: exported function NewJSONAmmoDecoder should have comment or be unexported (golint)
    • Line 68: warning: exported type JSONAmmoDecoder should have comment or be unexported (golint)
    • Line 73: warning: exported method JSONAmmoDecoder.Decode should have comment or be unexported (golint)
    • pandora/lib/testutil/util.go
    • Line 12: warning: exported function ReplaceGlobalLogger should have comment or be unexported (golint)
    • Line 19: warning: exported function NewLogger should have comment or be unexported (golint)
    • pandora/core/aggregator/reporter.go
    • Line 18: warning: exported type ReporterConfig should have comment or be unexported (golint)
    • Line 28: warning: exported const DefaultSampleQueueSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported function DefaultReporterConfig should have comment or be unexported (golint)
    • Line 37: warning: exported function NewReporter should have comment or be unexported (golint)
    • Line 43: warning: exported type Reporter should have comment or be unexported (golint)
    • Line 49: warning: exported method Reporter.DroppedErr should have comment or be unexported (golint)
    • Line 57: warning: exported method Reporter.Report should have comment or be unexported (golint)
    • Line 74: warning: exported type SomeSamplesDropped should have comment or be unexported (golint)
    • pandora/core/datasink/std.go
    • Line 16: warning: exported type Buffer should have comment or be unexported (golint)
    • Line 23: warning: exported method Buffer.OpenSink should have comment or be unexported (golint)
    • Line 27: warning: exported function NewBuffer should have comment or be unexported (golint)
    • pandora/core/config/validations.go
    • Line 16: warning: exported function MinTimeValidation should have comment or be unexported (golint)
    • Line 20: warning: exported function MaxTimeValidation should have comment or be unexported (golint)
    • Line 34: warning: exported function MinSizeValidation should have comment or be unexported (golint)
    • Line 38: warning: exported function MaxSizeValidation should have comment or be unexported (golint)
    • Line 52: warning: comment on exported function EndpointStringValidation should be of the form "EndpointStringValidation ..." (golint)
    • Line 64: warning: exported function URLPathStringValidation should have comment or be unexported (golint)
    • pandora/components/phttp/connect.go
    • Line 21: warning: exported type ConnectGunConfig should have comment or be unexported (golint)
    • Line 29: warning: exported function NewConnectGun should have comment or be unexported (golint)
    • Line 51: warning: exported type ConnectGun should have comment or be unexported (golint)
    • Line 59: warning: exported method ConnectGun.Do should have comment or be unexported (golint)
    • Line 64: warning: exported function DefaultConnectGunConfig 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!


misspell98%

Misspell Finds commonly misspelled English words