Preparing report...

Report for github.com/go-roc/roc

A+    Excellent!    Found 49 issues across 95 files

Tweet

gofmt96%

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.


golint48%

Golint is a linter for Go source code.

    • roc/server/server.go
    • Line 19: warning: exported type RocServer should have comment or be unexported (golint)
    • Line 25: warning: exported method RocServer.Id should have comment or be unexported (golint)
    • Line 29: warning: exported method RocServer.Name should have comment or be unexported (golint)
    • Line 33: warning: exported method RocServer.TCPAddress should have comment or be unexported (golint)
    • Line 37: warning: exported method RocServer.Version should have comment or be unexported (golint)
    • Line 41: warning: exported method RocServer.Register should have comment or be unexported (golint)
    • Line 45: warning: exported method RocServer.WssAddress should have comment or be unexported (golint)
    • Line 49: warning: exported method RocServer.WssPath should have comment or be unexported (golint)
    • Line 53: warning: exported method RocServer.Transport should have comment or be unexported (golint)
    • Line 57: warning: exported method RocServer.E should have comment or be unexported (golint)
    • Line 61: warning: exported method RocServer.Codec should have comment or be unexported (golint)
    • Line 65: warning: exported function NewRocServer should have comment or be unexported (golint)
    • Line 84: warning: exported method RocServer.Run should have comment or be unexported (golint)
    • Line 135: warning: exported method RocServer.RegisterHandler should have comment or be unexported (golint)
    • Line 139: warning: exported method RocServer.RegisterStreamHandler should have comment or be unexported (golint)
    • Line 143: warning: exported method RocServer.RegisterChannelHandler should have comment or be unexported (golint)
    • Line 147: warning: exported method RocServer.Close should have comment or be unexported (golint)
    • roc/rlog/output/fs/file.go
    • Line 18: warning: exported type FileSysOut should have comment or be unexported (golint)
    • Line 32: warning: exported function NewFs should have comment or be unexported (golint)
    • Line 38: warning: exported method FileSysOut.Init should have comment or be unexported (golint)
    • Line 42: warning: exported method FileSysOut.Out should have comment or be unexported (golint)
    • Line 50: warning: exported method FileSysOut.Level should have comment or be unexported (golint)
    • Line 54: warning: exported method FileSysOut.SetLevel should have comment or be unexported (golint)
    • Line 62: warning: exported method FileSysOut.Link should have comment or be unexported (golint)
    • Line 66: warning: exported method FileSysOut.Name should have comment or be unexported (golint)
    • Line 70: warning: exported method FileSysOut.Path should have comment or be unexported (golint)
    • Line 74: warning: exported method FileSysOut.Async should have comment or be unexported (golint)
    • Line 78: warning: exported method FileSysOut.Prefix should have comment or be unexported (golint)
    • Line 82: warning: exported method FileSysOut.MaxBucketSize should have comment or be unexported (golint)
    • Line 86: warning: exported method FileSysOut.Rotate should have comment or be unexported (golint)
    • Line 90: warning: exported method FileSysOut.Interval should have comment or be unexported (golint)
    • Line 94: warning: exported method FileSysOut.Filename should have comment or be unexported (golint)
    • Line 98: warning: exported method FileSysOut.Zone should have comment or be unexported (golint)
    • Line 102: warning: exported method FileSysOut.FileModel should have comment or be unexported (golint)
    • Line 106: warning: exported method FileSysOut.MaxBufferSize should have comment or be unexported (golint)
    • Line 177: warning: exported method FileSysOut.Poller should have comment or be unexported (golint)
    • Line 251: warning: exported method FileSysOut.Close should have comment or be unexported (golint)
    • roc/internal/namespace/watch.go
    • Line 3: warning: exported type WatcherAction should have comment or be unexported (golint)
    • Line 6: warning: exported const WatcherCreate should have comment (or a comment on this block) or be unexported (golint)
    • roc/internal/router/router.go
    • Line 19: warning: exported type Router should have comment or be unexported (golint)
    • Line 29: warning: exported function NewRouter should have comment or be unexported (golint)
    • Line 40: warning: exported method Router.Codec should have comment or be unexported (golint)
    • Line 48: warning: exported method Router.RegisterHandler should have comment or be unexported (golint)
    • Line 57: warning: exported method Router.RegisterStreamHandler should have comment or be unexported (golint)
    • Line 67: warning: exported method Router.RegisterChannelHandler should have comment or be unexported (golint)
    • Line 77: warning: exported method Router.RRProcess should have comment or be unexported (golint)
    • Line 98: warning: exported method Router.RSProcess should have comment or be unexported (golint)
    • Line 120: warning: exported method Router.RCProcess should have comment or be unexported (golint)
    • Line 161: warning: exported method Router.List should have comment or be unexported (golint)
    • roc/rlog/format/format.go
    • Line 11: warning: exported var DefaultFormat should have comment or be unexported (golint)
    • Line 13: warning: exported type Formatter should have comment or be unexported (golint)
    • roc/internal/etcd/watch.go
    • Line 14: warning: exported type Action should have comment or be unexported (golint)
    • Line 19: warning: exported type Watch should have comment or be unexported (golint)
    • Line 25: warning: exported function NewEtcdWatch should have comment or be unexported (golint)
    • Line 43: warning: exported method Watch.Watch should have comment or be unexported (golint)
    • Line 97: warning: exported method Watch.Close should have comment or be unexported (golint)
    • roc/parcel/metadata/metadata.go
    • Line 17: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 27: warning: exported function DecodeMetadata should have comment or be unexported (golint)
    • Line 31: warning: exported function EncodeMetadata should have comment or be unexported (golint)
    • Line 40: warning: exported method Metadata.Body should have comment or be unexported (golint)
    • Line 44: warning: exported method Metadata.Set should have comment or be unexported (golint)
    • Line 48: warning: exported method Metadata.Get should have comment or be unexported (golint)
    • Line 52: warning: exported method Metadata.Service should have comment or be unexported (golint)
    • Line 56: warning: exported method Metadata.Method should have comment or be unexported (golint)
    • Line 60: warning: exported method Metadata.Version should have comment or be unexported (golint)
    • Line 64: warning: exported method Metadata.Tracing should have comment or be unexported (golint)
    • Line 68: warning: exported method Metadata.Address should have comment or be unexported (golint)
    • Line 96: warning: exported method Metadata.VersionUint16 should have comment or be unexported (golint)
    • Line 135: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • roc/rlog/output/console/console.go
    • Line 11: warning: exported type Console should have comment or be unexported (golint)
    • Line 15: warning: exported method Console.Init should have comment or be unexported (golint)
    • Line 19: warning: exported method Console.Out should have comment or be unexported (golint)
    • Line 29: warning: exported method Console.Level should have comment or be unexported (golint)
    • Line 33: warning: exported method Console.SetLevel should have comment or be unexported (golint)
    • Line 37: warning: exported method Console.Poller should have comment or be unexported (golint)
    • Line 41: warning: exported method Console.Close should have comment or be unexported (golint)
    • roc/internal/registry/option.go
    • Line 12: warning: exported type Option should have comment or be unexported (golint)
    • Line 23: warning: exported type Options should have comment or be unexported (golint)
    • Line 25: warning: exported function EtcdConfig should have comment or be unexported (golint)
    • Line 31: warning: exported function Name should have comment or be unexported (golint)
    • Line 37: warning: exported function Version should have comment or be unexported (golint)
    • Line 43: warning: exported function Address should have comment or be unexported (golint)
    • Line 49: warning: exported function Timeout should have comment or be unexported (golint)
    • Line 55: warning: exported function LeaseTLL should have comment or be unexported (golint)
    • Line 61: warning: exported function Schema should have comment or be unexported (golint)
    • roc/internal/registry/registry.go
    • Line 8: warning: exported type Registry should have comment or be unexported (golint)
    • Line 18: warning: exported type Watcher should have comment or be unexported (golint)
    • Line 22: warning: exported type Action should have comment or be unexported (golint)
    • roc/client/conn.go
    • Line 15: warning: exported const StateBlock should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported type Conn should have comment or be unexported (golint)
    • Line 86: warning: exported method Conn.Offset should have comment or be unexported (golint)
    • Line 90: warning: exported method Conn.Client should have comment or be unexported (golint)
    • Line 94: warning: exported method Conn.Close should have comment or be unexported (golint)
    • roc/parcel/codec/codec.go
    • Line 9: warning: exported var DefaultCodec should have comment or be unexported (golint)
    • Line 11: warning: exported type Codec should have comment or be unexported (golint)
    • roc/internal/x/x.go
    • Line 12: warning: exported function NewUUID should have comment or be unexported (golint)
    • Line 16: warning: exported var Jsoniter should have comment or be unexported (golint)
    • Line 18: warning: exported function MustMarshal should have comment or be unexported (golint)
    • Line 23: warning: exported function MustUnmarshal2Map should have comment or be unexported (golint)
    • Line 30: warning: exported function MustMarshalString should have comment or be unexported (golint)
    • Line 35: warning: exported function StringToBytes should have comment or be unexported (golint)
    • Line 41: warning: exported function BytesToString should have comment or be unexported (golint)
    • Line 45: warning: exported var Rand should have comment or be unexported (golint)
    • Line 47: warning: exported function RandInt should have comment or be unexported (golint)
    • roc/server/option.go
    • Line 22: warning: exported const SupportPackageIsVersion1 should have comment or be unexported (golint)
    • Line 44: warning: exported type Options should have comment or be unexported (golint)
    • Line 46: warning: exported function Codec should have comment or be unexported (golint)
    • Line 52: warning: exported function BuffSize should have comment or be unexported (golint)
    • Line 58: warning: exported function Wrapper should have comment or be unexported (golint)
    • Line 64: warning: exported function Exit should have comment or be unexported (golint)
    • Line 70: warning: exported function Signal should have comment or be unexported (golint)
    • Line 76: warning: exported function Transport should have comment or be unexported (golint)
    • Line 82: warning: exported function E should have comment or be unexported (golint)
    • Line 88: warning: exported function Port should have comment or be unexported (golint)
    • Line 102: warning: exported function Error should have comment or be unexported (golint)
    • Line 108: warning: exported function WssAddress should have comment or be unexported (golint)
    • Line 115: warning: exported function Id should have comment or be unexported (golint)
    • Line 121: warning: exported function Namespace should have comment or be unexported (golint)
    • Line 127: warning: exported function TCPAddress should have comment or be unexported (golint)
    • Line 133: warning: exported function Version should have comment or be unexported (golint)
    • Line 139: warning: exported function Registry should have comment or be unexported (golint)
    • Line 233: warning: exported function LocalIp should have comment or be unexported (golint)
    • roc/rlog/output/fs/option.go
    • Line 10: warning: exported const B should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported const DefaultFileMaxDelta should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type Option should have comment or be unexported (golint)
    • Line 40: warning: exported type Options should have comment or be unexported (golint)
    • Line 89: warning: exported function Name should have comment or be unexported (golint)
    • Line 95: warning: exported function Interval should have comment or be unexported (golint)
    • Line 101: warning: exported function Link should have comment or be unexported (golint)
    • Line 107: warning: exported function Path should have comment or be unexported (golint)
    • Line 113: warning: exported function Async should have comment or be unexported (golint)
    • Line 119: warning: exported function Prefix should have comment or be unexported (golint)
    • Line 125: warning: exported function MaxFileSize should have comment or be unexported (golint)
    • Line 131: warning: exported function MaxBufferSize should have comment or be unexported (golint)
    • Line 137: warning: exported function Rotate should have comment or be unexported (golint)
    • Line 143: warning: exported function Zone should have comment or be unexported (golint)
    • Line 149: warning: exported function FileModel should have comment or be unexported (golint)
    • roc/internal/transport/transport.go
    • Line 10: warning: exported type Server should have comment or be unexported (golint)
    • Line 18: warning: exported type Client should have comment or be unexported (golint)
    • Line 41: warning: exported type CallOptions should have comment or be unexported (golint)
    • Line 43: warning: exported type CallOption should have comment or be unexported (golint)
    • roc/parcel/codec/jsonc/jsonc.go
    • Line 5: warning: exported var JSCodec should have comment or be unexported (golint)
    • Line 7: warning: exported type JsonCodec should have comment or be unexported (golint)
    • Line 11: warning: exported method JsonCodec.Encode should have comment or be unexported (golint)
    • Line 20: warning: exported method JsonCodec.Decode should have comment or be unexported (golint)
    • roc/rlog/common/common.go
    • Line 3: warning: exported type Level should have comment or be unexported (golint)
    • Line 6: warning: exported const NONE should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type Config should have comment or be unexported (golint)
    • Line 17: warning: exported type Detail should have comment or be unexported (golint)
    • roc/internal/etcd/etcd.go
    • Line 16: warning: exported type Etcd should have comment or be unexported (golint)
    • Line 26: warning: exported function NewEtcd should have comment or be unexported (golint)
    • Line 54: warning: exported method Etcd.Client should have comment or be unexported (golint)
    • Line 58: warning: exported method Etcd.PutWithLease should have comment or be unexported (golint)
    • Line 103: warning: exported method Etcd.Put should have comment or be unexported (golint)
    • Line 124: warning: exported method Etcd.GetWithLastKey should have comment or be unexported (golint)
    • Line 141: warning: exported method Etcd.GetWithKey should have comment or be unexported (golint)
    • Line 158: warning: exported method Etcd.GetWithList should have comment or be unexported (golint)
    • Line 180: warning: exported method Etcd.Delete should have comment or be unexported (golint)
    • Line 199: warning: exported method Etcd.Close should have comment or be unexported (golint)
    • roc/internal/trace/span/span.go
    • Line 9: warning: comment on exported type Span should be of the form "Span ..." (with optional leading article) (golint)
    • Line 19: warning: exported method Span.Carrier should have comment or be unexported (golint)
    • Line 24: warning: exported method Span.Finish should have comment or be unexported (golint)
    • Line 33: warning: exported method Span.TraceId should have comment or be unexported (golint)
    • Line 37: warning: exported function NewSpan should have comment or be unexported (golint)
    • roc/client/strategy.go
    • Line 17: warning: exported var ErrorNoneServer should have comment or be unexported (golint)
    • Line 21: warning: exported type Strategy should have comment or be unexported (golint)
    • roc/internal/x/fs.go
    • Line 11: warning: exported function GetLastPwd should have comment or be unexported (golint)
    • Line 24: warning: exported function GetPwd should have comment or be unexported (golint)
    • Line 32: warning: exported function GetProjectName should have comment or be unexported (golint)
    • roc/parcel/packet.go
    • Line 12: warning: exported type RocPacket should have comment or be unexported (golint)
    • Line 16: warning: exported function Recycle should have comment or be unexported (golint)
    • Line 23: warning: exported function NewPacket should have comment or be unexported (golint)
    • Line 27: warning: exported function Payload should have comment or be unexported (golint)
    • Line 37: warning: exported method RocPacket.Len should have comment or be unexported (golint)
    • Line 45: warning: exported method RocPacket.Bytes should have comment or be unexported (golint)
    • roc/parcel/codec/protoc/proto.go
    • Line 7: warning: exported type Proto should have comment or be unexported (golint)
    • Line 9: warning: exported method Proto.Encode should have comment or be unexported (golint)
    • Line 18: warning: exported method Proto.Decode should have comment or be unexported (golint)
    • roc/rlog/rlog.go
    • Line 9: warning: exported function Debug should have comment or be unexported (golint)
    • Line 14: warning: exported function Info should have comment or be unexported (golint)
    • Line 18: warning: exported function Warn should have comment or be unexported (golint)
    • Line 22: warning: exported function Error should have comment or be unexported (golint)
    • Line 26: warning: exported function Fatal should have comment or be unexported (golint)
    • Line 30: warning: exported function Stack should have comment or be unexported (golint)
    • Line 34: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 39: warning: exported function Infof should have comment or be unexported (golint)
    • Line 43: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 47: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 51: warning: exported function Fatalf should have comment or be unexported (golint)
    • Line 55: warning: exported function Stackf should have comment or be unexported (golint)
    • roc/rlog/log/log.go
    • Line 27: warning: exported function Overload should have comment or be unexported (golint)
    • Line 73: warning: exported function Close should have comment or be unexported (golint)
    • Line 77: warning: exported function Debug should have comment or be unexported (golint)
    • Line 86: warning: exported function Info should have comment or be unexported (golint)
    • Line 95: warning: exported function Warn should have comment or be unexported (golint)
    • Line 104: warning: exported function Error should have comment or be unexported (golint)
    • Line 113: warning: exported function Fatal should have comment or be unexported (golint)
    • Line 122: warning: exported function Stack should have comment or be unexported (golint)
    • roc/internal/trace/noop/noop.go
    • Line 3: warning: exported type Noop should have comment or be unexported (golint)
    • Line 5: warning: exported method Noop.Carrier should have comment or be unexported (golint)
    • Line 9: warning: exported function NewSimple should have comment or be unexported (golint)
    • Line 17: warning: exported method Noop.Finish should have comment or be unexported (golint)
    • Line 21: warning: exported method Noop.TraceId should have comment or be unexported (golint)
    • roc/internal/backoff/backoff.go
    • Line 11: warning: exported const Done should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported function NewBackoff should have comment or be unexported (golint)
    • roc/rlog/output/outputor.go
    • Line 10: warning: exported type Outputor should have comment or be unexported (golint)
    • Line 20: warning: exported var DefaultOutput should have comment or be unexported (golint)
    • roc/internal/config/option.go
    • Line 9: warning: exported type Option should have comment or be unexported (golint)
    • Line 18: warning: exported type Options should have comment or be unexported (golint)
    • Line 20: warning: exported function EnableDynamic should have comment or be unexported (golint)
    • Line 26: warning: exported function Schema should have comment or be unexported (golint)
    • Line 32: warning: exported function Version should have comment or be unexported (golint)
    • Line 38: warning: exported function Backup should have comment or be unexported (golint)
    • Line 44: warning: exported function Prefix should have comment or be unexported (golint)
    • roc/internal/config/config.go
    • Line 22: warning: exported type RConfig should have comment or be unexported (golint)
    • Line 43: warning: exported function NewConfig should have comment or be unexported (golint)
    • Line 196: warning: exported function RocConfig should have comment or be unexported (golint)
    • Line 215: warning: exported function GetAny should have comment or be unexported (golint)
    • Line 223: warning: exported function GetString should have comment or be unexported (golint)
    • Line 231: warning: exported function GetInt should have comment or be unexported (golint)
    • Line 239: warning: exported function GetInt32 should have comment or be unexported (golint)
    • Line 247: warning: exported function GetInt64 should have comment or be unexported (golint)
    • Line 255: warning: exported function GetUint should have comment or be unexported (golint)
    • Line 263: warning: exported function GetUint32 should have comment or be unexported (golint)
    • Line 271: warning: exported function GetUint64 should have comment or be unexported (golint)
    • Line 279: warning: exported function GetFloat32 should have comment or be unexported (golint)
    • Line 287: warning: exported function GetFloat64 should have comment or be unexported (golint)
    • Line 295: warning: exported function GetBool should have comment or be unexported (golint)
    • roc/rlog/log/option.go
    • Line 8: warning: exported type Option should have comment or be unexported (golint)
    • Line 16: warning: exported type Options should have comment or be unexported (golint)
    • Line 48: warning: exported function Call should have comment or be unexported (golint)
    • Line 54: warning: exported function Output should have comment or be unexported (golint)
    • Line 60: warning: exported function Name should have comment or be unexported (golint)
    • Line 66: warning: exported function Prefix should have comment or be unexported (golint)
    • Line 72: warning: exported function Format should have comment or be unexported (golint)
    • roc/internal/trace/simple/simple.go
    • Line 7: warning: comment on exported type Simple should be of the form "Simple ..." (with optional leading article) (golint)
    • Line 12: warning: exported method Simple.Carrier should have comment or be unexported (golint)
    • Line 16: warning: exported function NewSimple should have comment or be unexported (golint)
    • Line 30: warning: exported method Simple.Finish should have comment or be unexported (golint)
    • Line 34: warning: exported method Simple.TraceId should have comment or be unexported (golint)
    • roc/client/client.go
    • Line 15: warning: exported type RocClient should have comment or be unexported (golint)
    • Line 20: warning: exported method RocClient.Registry should have comment or be unexported (golint)
    • Line 24: warning: exported method RocClient.Client should have comment or be unexported (golint)
    • Line 28: warning: exported method RocClient.ConnectTimeout should have comment or be unexported (golint)
    • Line 32: warning: exported method RocClient.KeepaliveInterval should have comment or be unexported (golint)
    • Line 36: warning: exported method RocClient.KeepaliveLifetime should have comment or be unexported (golint)
    • Line 40: warning: exported method RocClient.Codec should have comment or be unexported (golint)
    • Line 44: warning: exported function NewRocClient should have comment or be unexported (golint)
    • Line 52: warning: exported method RocClient.InvokeRR should have comment or be unexported (golint)
    • Line 73: warning: exported method RocClient.InvokeRS should have comment or be unexported (golint)
    • Line 103: warning: exported method RocClient.InvokeRC should have comment or be unexported (golint)
    • Line 130: warning: exported method RocClient.Close should have comment or be unexported (golint)
    • roc/client/option.go
    • Line 13: warning: exported type InvokeOptions should have comment or be unexported (golint)
    • Line 15: warning: exported type InvokeOption should have comment or be unexported (golint)
    • Line 23: warning: exported function BuffSize should have comment or be unexported (golint)
    • Line 29: warning: exported function WithScope should have comment or be unexported (golint)
    • Line 42: warning: exported function WithAddress should have comment or be unexported (golint)
    • Line 56: warning: exported type Options should have comment or be unexported (golint)
    • Line 68: warning: exported function Client should have comment or be unexported (golint)
    • Line 74: warning: exported function Registry should have comment or be unexported (golint)
    • Line 80: warning: exported function Transport should have comment or be unexported (golint)
    • Line 86: warning: exported function ConnectTimeout should have comment or be unexported (golint)
    • Line 92: warning: exported function Codec should have comment or be unexported (golint)
    • Line 98: warning: exported function KeepaliveInterval should have comment or be unexported (golint)
    • Line 104: warning: exported function KeepaliveLifetime should have comment or be unexported (golint)
    • roc/internal/namespace/namespace.go
    • Line 3: warning: exported type Service should have comment or be unexported (golint)
    • Line 6: warning: exported const DefaultVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type Header should have comment or be unexported (golint)
    • Line 14: warning: exported const DefaultHeaderTrace should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type Schema should have comment or be unexported (golint)
    • Line 22: warning: exported type Scope should have comment or be unexported (golint)
    • Line 24: warning: exported type RequestChannel should have comment or be unexported (golint)
    • roc/internal/sig/signal.go
    • Line 8: warning: exported var DefaultSignal should have comment or be unexported (golint)
    • Line 16: warning: exported function ExitSignal should have comment or be unexported (golint)
    • roc/parcel/error.go
    • Line 9: warning: exported type ErrorCode should have comment or be unexported (golint)
    • Line 12: warning: exported const ErrorCodeInternalServer should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported var DefaultErrorPacket should have comment or be unexported (golint)
    • Line 21: warning: exported type ErrorPackager should have comment or be unexported (golint)
    • Line 25: warning: exported type ErrorPacket should have comment or be unexported (golint)
    • Line 30: warning: exported function NewErrorPacket should have comment or be unexported (golint)
    • Line 34: warning: exported method ErrorPacket.Encode should have comment or be unexported (golint)
    • roc/parcel/parcel.go
    • Line 9: warning: exported type Handler should have comment or be unexported (golint)
    • Line 11: warning: exported type StreamHandler should have comment or be unexported (golint)
    • Line 13: warning: exported type ChannelHandler should have comment or be unexported (golint)
    • Line 15: warning: exported type Fire should have comment or be unexported (golint)
    • Line 17: warning: exported type Interceptor should have comment or be unexported (golint)
    • Line 19: warning: exported type Wrapper should have comment or be unexported (golint)
    • roc/parcel/context/context.go
    • Line 11: warning: exported type Context should have comment or be unexported (golint)
    • Line 17: warning: exported function Background should have comment or be unexported (golint)
    • Line 21: warning: exported method Context.WithMetadata should have comment or be unexported (golint)
    • Line 32: warning: exported function NewConext should have comment or be unexported (golint)
    • Line 43: warning: exported function FromMetadata should have comment or be unexported (golint)
    • Line 51: warning: exported method Context.Debug should have comment or be unexported (golint)
    • Line 56: warning: exported method Context.Info should have comment or be unexported (golint)
    • Line 66: warning: exported method Context.Debugf should have comment or be unexported (golint)
    • Line 71: warning: exported method Context.Infof should have comment or be unexported (golint)
    • Line 76: warning: exported method Context.Errorf should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!