Preparing report...

Report for github.com/asynkronit/protoactor-go

A+    Excellent!    Found 105 issues across 276 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!


gocyclo99%

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.


golint63%

Golint is a linter for Go source code.

    • protoactor-go/actor/actor_process.go
    • Line 9: warning: exported type ActorProcess should have comment or be unexported (golint)
    • Line 16: warning: exported function NewActorProcess should have comment or be unexported (golint)
    • Line 20: warning: exported method ActorProcess.SendUserMessage should have comment or be unexported (golint)
    • Line 23: warning: exported method ActorProcess.SendSystemMessage should have comment or be unexported (golint)
    • Line 27: warning: exported method ActorProcess.Stop should have comment or be unexported (golint)
    • protoactor-go/actor/behavior.go
    • Line 5: warning: exported type Behavior should have comment or be unexported (golint)
    • Line 7: warning: exported function NewBehavior should have comment or be unexported (golint)
    • Line 11: warning: exported method Behavior.Become should have comment or be unexported (golint)
    • Line 16: warning: exported method Behavior.BecomeStacked should have comment or be unexported (golint)
    • Line 20: warning: exported method Behavior.UnbecomeStacked should have comment or be unexported (golint)
    • Line 24: warning: exported method Behavior.Receive should have comment or be unexported (golint)
    • protoactor-go/actor/throttler.go
    • Line 8: warning: exported type ShouldThrottle should have comment or be unexported (golint)
    • Line 10: warning: exported type Valve should have comment or be unexported (golint)
    • Line 13: warning: exported const Open should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: comment on exported function NewThrottle should be of the form "NewThrottle ..." (golint)
    • protoactor-go/remote/serializer.go
    • Line 3: warning: exported var DefaultSerializerID should have comment or be unexported (golint)
    • Line 11: warning: exported function RegisterSerializerAsDefault should have comment or be unexported (golint)
    • Line 16: warning: exported function RegisterSerializer should have comment or be unexported (golint)
    • Line 20: warning: exported type Serializer should have comment or be unexported (golint)
    • Line 26: warning: exported function Serialize should have comment or be unexported (golint)
    • Line 32: warning: exported function Deserialize should have comment or be unexported (golint)
    • protoactor-go/cluster/zk/node.go
    • Line 15: warning: exported type Node should have comment or be unexported (golint)
    • Line 26: warning: exported function NewNode should have comment or be unexported (golint)
    • Line 39: warning: exported method Node.GetAddress should have comment or be unexported (golint)
    • Line 48: warning: exported method Node.GetAddressString should have comment or be unexported (golint)
    • Line 53: warning: exported method Node.Equal should have comment or be unexported (golint)
    • Line 63: warning: exported method Node.GetMeta should have comment or be unexported (golint)
    • Line 71: warning: exported method Node.GetSeq should have comment or be unexported (golint)
    • Line 78: warning: exported method Node.MemberStatus should have comment or be unexported (golint)
    • Line 92: warning: exported method Node.SetMeta should have comment or be unexported (golint)
    • Line 99: warning: exported method Node.Serialize should have comment or be unexported (golint)
    • Line 107: warning: exported method Node.Deserialize should have comment or be unexported (golint)
    • protoactor-go/eventstream/eventstream.go
    • Line 10: warning: exported function NewEventStream should have comment or be unexported (golint)
    • Line 16: warning: exported type EventStream should have comment or be unexported (golint)
    • Line 21: warning: exported method EventStream.Subscribe should have comment or be unexported (golint)
    • Line 34: warning: exported method EventStream.Unsubscribe should have comment or be unexported (golint)
    • Line 67: warning: exported method EventStream.Publish should have comment or be unexported (golint)
    • Line 74: warning: exported method EventStream.PublishUnsafe should have comment or be unexported (golint)
    • protoactor-go/cluster/round_robin.go
    • Line 5: warning: exported type SimpleRoundRobin should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSimpleRoundRobin should have comment or be unexported (golint)
    • Line 14: warning: exported method SimpleRoundRobin.GetByRoundRobin should have comment or be unexported (golint)
    • protoactor-go/router/messages.go
    • Line 3: warning: exported type ManagementMessage should have comment or be unexported (golint)
    • Line 7: warning: exported type BroadcastMessage should have comment or be unexported (golint)
    • Line 11: warning: exported method AddRoutee.ManagementMessage should have comment or be unexported (golint)
    • Line 12: warning: exported method RemoveRoutee.ManagementMessage should have comment or be unexported (golint)
    • Line 13: warning: exported method GetRoutees.ManagementMessage should have comment or be unexported (golint)
    • Line 14: warning: exported method AdjustPoolSize.ManagementMessage should have comment or be unexported (golint)
    • Line 15: warning: exported method BroadcastMessage.ManagementMessage should have comment or be unexported (golint)
    • protoactor-go/actor/eventstream_process.go
    • Line 3: warning: exported type EventStreamProcess should have comment or be unexported (golint)
    • Line 7: warning: exported function NewEventStreamProcess should have comment or be unexported (golint)
    • Line 11: warning: exported method EventStreamProcess.SendUserMessage should have comment or be unexported (golint)
    • Line 16: warning: exported method EventStreamProcess.SendSystemMessage should have comment or be unexported (golint)
    • Line 20: warning: exported method EventStreamProcess.Stop should have comment or be unexported (golint)
    • protoactor-go/persistence/in_memory_provider.go
    • Line 15: warning: exported type InMemoryProvider should have comment or be unexported (golint)
    • Line 21: warning: exported function NewInMemoryProvider should have comment or be unexported (golint)
    • Line 46: warning: exported method InMemoryProvider.Restart should have comment or be unexported (golint)
    • Line 48: warning: exported method InMemoryProvider.GetSnapshotInterval should have comment or be unexported (golint)
    • Line 52: warning: exported method InMemoryProvider.GetSnapshot should have comment or be unexported (golint)
    • Line 60: warning: exported method InMemoryProvider.PersistSnapshot should have comment or be unexported (golint)
    • Line 66: warning: exported method InMemoryProvider.DeleteSnapshots should have comment or be unexported (golint)
    • Line 70: warning: exported method InMemoryProvider.GetEvents should have comment or be unexported (golint)
    • Line 80: warning: exported method InMemoryProvider.PersistEvent should have comment or be unexported (golint)
    • Line 85: warning: exported method InMemoryProvider.DeleteEvents should have comment or be unexported (golint)
    • protoactor-go/extensions/extensions.go
    • Line 5: warning: exported type ExtensionId should have comment or be unexported (golint)
    • Line 9: warning: exported type Extension should have comment or be unexported (golint)
    • Line 13: warning: exported type Extensions should have comment or be unexported (golint)
    • Line 17: warning: exported function NewExtensions should have comment or be unexported (golint)
    • Line 24: warning: exported function NextExtensionId should have comment or be unexported (golint)
    • Line 29: warning: exported method Extensions.Get should have comment or be unexported (golint)
    • Line 33: warning: exported method Extensions.Register should have comment or be unexported (golint)
    • protoactor-go/cluster/etcd/etcd_provider.go
    • Line 23: warning: exported type Provider should have comment or be unexported (golint)
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • Line 49: warning: exported function NewWithConfig should have comment or be unexported (golint)
    • Line 82: warning: exported method Provider.StartMember should have comment or be unexported (golint)
    • Line 106: warning: exported method Provider.StartClient should have comment or be unexported (golint)
    • Line 121: warning: exported method Provider.Shutdown should have comment or be unexported (golint)
    • Line 138: warning: exported method Provider.UpdateClusterState should have comment or be unexported (golint)
    • protoactor-go/log/options.go
    • Line 8: warning: exported var Development should have comment or be unexported (golint)
    • Line 39: warning: comment on exported method Options.With should be of the form "With ..." (golint)
    • Line 66: warning: exported function WithDefaultLevel should have comment or be unexported (golint)
    • Line 75: warning: exported function SetOptions should have comment or be unexported (golint)
    • protoactor-go/actor/pidset.go
    • Line 5: warning: exported type PIDSet should have comment or be unexported (golint)
    • Line 38: warning: exported method PIDSet.Contains should have comment or be unexported (golint)
    • Line 95: warning: exported method PIDSet.Get should have comment or be unexported (golint)
    • Line 99: warning: exported method PIDSet.Clone should have comment or be unexported (golint)
    • protoactor-go/mailbox/dispatcher.go
    • Line 3: warning: exported type Dispatcher should have comment or be unexported (golint)
    • Line 18: warning: exported function NewDefaultDispatcher should have comment or be unexported (golint)
    • Line 32: warning: exported function NewSynchronizedDispatcher should have comment or be unexported (golint)
    • protoactor-go/cluster/grain.go
    • Line 5: warning: exported type Grain should have comment or be unexported (golint)
    • Line 9: warning: exported method Grain.ID should have comment or be unexported (golint)
    • Line 13: warning: exported method Grain.Init should have comment or be unexported (golint)
    • Line 17: warning: exported type GrainCallOptions should have comment or be unexported (golint)
    • Line 25: warning: exported function DefaultGrainCallOptions should have comment or be unexported (golint)
    • Line 32: warning: exported function NewGrainCallOptions should have comment or be unexported (golint)
    • Line 43: warning: exported method GrainCallOptions.WithTimeout should have comment or be unexported (golint)
    • Line 48: warning: exported method GrainCallOptions.WithRetry should have comment or be unexported (golint)
    • Line 53: warning: exported method GrainCallOptions.WithRetryAction should have comment or be unexported (golint)
    • Line 58: warning: exported type ClusterInit should have comment or be unexported (golint)
    • protoactor-go/log/caller.go
    • Line 9: warning: exported type CallerInfo should have comment or be unexported (golint)
    • Line 22: warning: exported method CallerInfo.ShortFileName should have comment or be unexported (golint)
    • protoactor-go/cluster/member_list.go
    • Line 14: warning: exported type ClusterTopologyEventV2 should have comment or be unexported (golint)
    • Line 32: warning: exported function NewMemberList should have comment or be unexported (golint)
    • Line 81: warning: exported method MemberList.Length should have comment or be unexported (golint)
    • Line 87: warning: exported method MemberList.UpdateClusterTopology should have comment or be unexported (golint)
    • Line 217: warning: exported method MemberList.BroadcastEvent should have comment or be unexported (golint)
    • protoactor-go/scheduler/timer.go
    • Line 11: warning: exported type CancelFunc should have comment or be unexported (golint)
    • Line 13: warning: exported type Stopper should have comment or be unexported (golint)
    • Line 52: warning: comment on exported type TimerScheduler should be of the form "TimerScheduler ..." (with optional leading article) (golint)
    • protoactor-go/cluster/zk/config.go
    • Line 9: warning: exported type Option should have comment or be unexported (golint)
    • Line 43: warning: exported function WithRoleChangedFunc should have comment or be unexported (golint)
    • Line 64: warning: exported type RoleChangedListener should have comment or be unexported (golint)
    • Line 68: warning: exported type OnRoleChangedFunc should have comment or be unexported (golint)
    • Line 70: warning: exported method OnRoleChangedFunc.OnRoleChanged should have comment or be unexported (golint)
    • protoactor-go/log/field.go
    • Line 32: warning: exported type Field should have comment or be unexported (golint)
    • Line 167: warning: comment on exported function CallerSkip should be of the form "CallerSkip ..." (golint)
    • Line 183: warning: exported function Caller should have comment or be unexported (golint)
    • protoactor-go/actor/actor.go
    • Line 21: warning: exported type ReceiverFunc should have comment or be unexported (golint)
    • Line 23: warning: exported type SenderFunc should have comment or be unexported (golint)
    • Line 25: warning: exported type ContextDecoratorFunc should have comment or be unexported (golint)
    • protoactor-go/actor/messages.go
    • Line 43: warning: exported type Failure should have comment or be unexported (golint)
    • Line 55: warning: exported method Restarting.AutoReceiveMessage should have comment or be unexported (golint)
    • Line 56: warning: exported method Stopping.AutoReceiveMessage should have comment or be unexported (golint)
    • Line 57: warning: exported method Stopped.AutoReceiveMessage should have comment or be unexported (golint)
    • Line 58: warning: exported method PoisonPill.AutoReceiveMessage should have comment or be unexported (golint)
    • Line 60: warning: exported method Started.SystemMessage should have comment or be unexported (golint)
    • Line 61: warning: exported method Stop.SystemMessage should have comment or be unexported (golint)
    • Line 62: warning: exported method Watch.SystemMessage should have comment or be unexported (golint)
    • Line 63: warning: exported method Unwatch.SystemMessage should have comment or be unexported (golint)
    • Line 64: warning: exported method Terminated.SystemMessage should have comment or be unexported (golint)
    • Line 65: warning: exported method Failure.SystemMessage should have comment or be unexported (golint)
    • Line 66: warning: exported method Restart.SystemMessage should have comment or be unexported (golint)
    • protoactor-go/cluster/zk/singleton.go
    • Line 9: warning: exported type SingletonScheduler should have comment or be unexported (golint)
    • Line 16: warning: exported function NewSingletonScheduler should have comment or be unexported (golint)
    • Line 20: warning: exported method SingletonScheduler.FromFunc should have comment or be unexported (golint)
    • Line 27: warning: exported method SingletonScheduler.FromProducer should have comment or be unexported (golint)
    • Line 34: warning: exported method SingletonScheduler.OnRoleChanged should have comment or be unexported (golint)
    • protoactor-go/persistence/plugin.go
    • Line 16: warning: exported type Mixin should have comment or be unexported (golint)
    • Line 28: warning: exported method Mixin.Recovering should have comment or be unexported (golint)
    • Line 32: warning: exported method Mixin.Name should have comment or be unexported (golint)
    • Line 36: warning: exported method Mixin.PersistReceive should have comment or be unexported (golint)
    • Line 44: warning: exported method Mixin.PersistSnapshot should have comment or be unexported (golint)
    • protoactor-go/router/config.go
    • Line 9: warning: exported type RouterType should have comment or be unexported (golint)
    • Line 12: warning: exported const GroupRouterType should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type RouterConfig should have comment or be unexported (golint)
    • Line 22: warning: exported type GroupRouter should have comment or be unexported (golint)
    • Line 26: warning: exported type PoolRouter should have comment or be unexported (golint)
    • Line 30: warning: exported method GroupRouter.OnStarted should have comment or be unexported (golint)
    • Line 38: warning: exported method GroupRouter.RouterType should have comment or be unexported (golint)
    • Line 42: warning: exported method PoolRouter.OnStarted should have comment or be unexported (golint)
    • Line 51: warning: exported method PoolRouter.RouterType should have comment or be unexported (golint)
    • protoactor-go/router/consistent_hash_router.go
    • Line 9: warning: exported type Hasher should have comment or be unexported (golint)
    • Line 84: warning: exported function NewConsistentHashPool should have comment or be unexported (golint)
    • Line 88: warning: exported function NewConsistentHashGroup should have comment or be unexported (golint)
    • protoactor-go/actor/root_context.go
    • Line 5: warning: exported type RootContext should have comment or be unexported (golint)
    • Line 17: warning: exported function NewRootContext should have comment or be unexported (golint)
    • Line 30: warning: exported method RootContext.Copy should have comment or be unexported (golint)
    • Line 34: warning: exported method RootContext.ActorSystem should have comment or be unexported (golint)
    • Line 38: warning: exported method RootContext.WithHeaders should have comment or be unexported (golint)
    • Line 43: warning: exported method RootContext.WithSenderMiddleware should have comment or be unexported (golint)
    • Line 50: warning: exported method RootContext.WithSpawnMiddleware should have comment or be unexported (golint)
    • Line 57: warning: exported method RootContext.WithGuardian should have comment or be unexported (golint)
    • Line 66: warning: exported method RootContext.Parent should have comment or be unexported (golint)
    • Line 70: warning: exported method RootContext.Self should have comment or be unexported (golint)
    • Line 77: warning: exported method RootContext.Sender should have comment or be unexported (golint)
    • Line 81: warning: exported method RootContext.Actor should have comment or be unexported (golint)
    • Line 89: warning: exported method RootContext.Message should have comment or be unexported (golint)
    • Line 93: warning: exported method RootContext.MessageHeader should have comment or be unexported (golint)
    • Line 97: warning: exported method RootContext.Send should have comment or be unexported (golint)
    • Line 101: warning: exported method RootContext.Request should have comment or be unexported (golint)
    • Line 105: warning: exported method RootContext.RequestWithCustomSender should have comment or be unexported (golint)
    • protoactor-go/plugin/passivation.go
    • Line 11: warning: exported type PassivationAware should have comment or be unexported (golint)
    • Line 17: warning: exported type PassivationHolder should have comment or be unexported (golint)
    • Line 22: warning: exported method PassivationHolder.Reset should have comment or be unexported (golint)
    • Line 31: warning: exported method PassivationHolder.Init should have comment or be unexported (golint)
    • Line 44: warning: exported method PassivationHolder.Cancel should have comment or be unexported (golint)
    • Line 50: warning: exported type PassivationPlugin should have comment or be unexported (golint)
    • Line 54: warning: exported method PassivationPlugin.OnStart should have comment or be unexported (golint)
    • Line 60: warning: exported method PassivationPlugin.OnOtherMessage should have comment or be unexported (golint)
    • protoactor-go/persistence/messages.go
    • Line 3: warning: exported type Replay should have comment or be unexported (golint)
    • Line 4: warning: exported type ReplayComplete should have comment or be unexported (golint)
    • Line 5: warning: exported type OfferSnapshot should have comment or be unexported (golint)
    • Line 8: warning: exported type RequestSnapshot should have comment or be unexported (golint)
    • protoactor-go/persistence/protocb/config.go
    • Line 8: warning: exported type CouchbaseOption should have comment or be unexported (golint)
    • Line 10: warning: exported function WithAsync should have comment or be unexported (golint)
    • Line 16: warning: exported function WithSnapshot should have comment or be unexported (golint)
    • protoactor-go/cluster/member_status_events.go
    • Line 5: warning: exported type MemberStatusEvent should have comment or be unexported (golint)
    • Line 10: warning: exported type MemberMeta should have comment or be unexported (golint)
    • Line 16: warning: exported method MemberMeta.Name should have comment or be unexported (golint)
    • Line 20: warning: exported method MemberMeta.GetKinds should have comment or be unexported (golint)
    • Line 24: warning: exported type MemberJoinedEvent should have comment or be unexported (golint)
    • Line 28: warning: exported method MemberJoinedEvent.MemberStatusEvent should have comment or be unexported (golint)
    • Line 30: warning: exported type MemberRejoinedEvent should have comment or be unexported (golint)
    • Line 34: warning: exported method MemberRejoinedEvent.MemberStatusEvent should have comment or be unexported (golint)
    • Line 36: warning: exported type MemberLeftEvent should have comment or be unexported (golint)
    • Line 40: warning: exported method MemberLeftEvent.MemberStatusEvent should have comment or be unexported (golint)
    • Line 42: warning: exported type MemberUnavailableEvent should have comment or be unexported (golint)
    • Line 46: warning: exported method MemberUnavailableEvent.MemberStatusEvent should have comment or be unexported (golint)
    • Line 48: warning: exported type MemberAvailableEvent should have comment or be unexported (golint)
    • Line 52: warning: exported method MemberAvailableEvent.MemberStatusEvent should have comment or be unexported (golint)
    • protoactor-go/actor/process_registry.go
    • Line 9: warning: exported type ProcessRegistryValue should have comment or be unexported (golint)
    • Line 21: warning: exported function NewProcessRegistry should have comment or be unexported (golint)
    • Line 32: warning: exported method ProcessRegistryValue.RegisterAddressResolver should have comment or be unexported (golint)
    • Line 58: warning: exported method ProcessRegistryValue.NextId should have comment or be unexported (golint)
    • Line 63: warning: exported method ProcessRegistryValue.Add should have comment or be unexported (golint)
    • Line 70: warning: exported method ProcessRegistryValue.Remove should have comment or be unexported (golint)
    • Line 77: warning: exported method ProcessRegistryValue.Get should have comment or be unexported (golint)
    • Line 97: warning: exported method ProcessRegistryValue.GetLocal should have comment or be unexported (golint)
    • protoactor-go/actor/metrics.go
    • Line 7: warning: exported type Metrics should have comment or be unexported (golint)
    • Line 11: warning: exported method Metrics.Enabled should have comment or be unexported (golint)
    • Line 14: warning: exported method Metrics.Id should have comment or be unexported (golint)
    • Line 18: warning: exported function NewMetrics should have comment or be unexported (golint)
    • protoactor-go/remote/response_status_code.go
    • Line 5: warning: exported type ResponseStatusCode should have comment or be unexported (golint)
    • Line 8: warning: exported const ResponseStatusCodeOK should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported method ResponseStatusCode.ToInt32 should have comment or be unexported (golint)
    • Line 43: warning: exported method ResponseStatusCode.AsError should have comment or be unexported (golint)
    • protoactor-go/cluster/consul/options.go
    • Line 5: warning: exported type Option should have comment or be unexported (golint)
    • Line 7: warning: exported function WithTTL should have comment or be unexported (golint)
    • Line 13: warning: exported function WithRefreshTTL should have comment or be unexported (golint)
    • Line 19: warning: exported function WithConsulServerAddress should have comment or be unexported (golint)
    • protoactor-go/cluster/etcd/node.go
    • Line 9: warning: exported type Node should have comment or be unexported (golint)
    • Line 20: warning: exported function NewNode should have comment or be unexported (golint)
    • Line 33: warning: exported function NewNodeFromBytes should have comment or be unexported (golint)
    • Line 41: warning: exported method Node.GetAddress should have comment or be unexported (golint)
    • Line 50: warning: exported method Node.Equal should have comment or be unexported (golint)
    • Line 60: warning: exported method Node.GetMeta should have comment or be unexported (golint)
    • Line 68: warning: exported method Node.MemberStatus should have comment or be unexported (golint)
    • Line 82: warning: exported method Node.SetMeta should have comment or be unexported (golint)
    • Line 89: warning: exported method Node.Serialize should have comment or be unexported (golint)
    • Line 97: warning: exported method Node.Deserialize should have comment or be unexported (golint)
    • Line 101: warning: exported method Node.IsAlive should have comment or be unexported (golint)
    • Line 105: warning: exported method Node.SetAlive should have comment or be unexported (golint)
    • protoactor-go/internal/queue/goring/queue.go
    • Line 15: warning: exported type Queue should have comment or be unexported (golint)
    • Line 21: warning: exported function New should have comment or be unexported (golint)
    • Line 33: warning: exported method Queue.Push should have comment or be unexported (golint)
    • Line 62: warning: exported method Queue.Length should have comment or be unexported (golint)
    • Line 66: warning: exported method Queue.Empty should have comment or be unexported (golint)
    • Line 70: warning: comment on exported method Queue.Pop should be of the form "Pop ..." (golint)
    • Line 87: warning: exported method Queue.PopMany should have comment or be unexported (golint)
    • protoactor-go/cluster/cluster.go
    • Line 15: warning: exported type Cluster should have comment or be unexported (golint)
    • Line 25: warning: exported function New should have comment or be unexported (golint)
    • Line 36: warning: exported method Cluster.Id should have comment or be unexported (golint)
    • Line 40: warning: exported function GetCluster should have comment or be unexported (golint)
    • Line 45: warning: exported method Cluster.Start should have comment or be unexported (golint)
    • Line 72: warning: exported method Cluster.StartClient should have comment or be unexported (golint)
    • Line 94: warning: exported method Cluster.Shutdown should have comment or be unexported (golint)
    • Line 111: warning: comment on exported method Cluster.GetV1 should be of the form "GetV1 ..." (golint)
    • Line 279: warning: exported method Cluster.GetClusterKind should have comment or be unexported (golint)
    • protoactor-go/log/stream.go
    • Line 7: warning: exported function Subscribe should have comment or be unexported (golint)
    • Line 11: warning: exported function Unsubscribe should have comment or be unexported (golint)
    • protoactor-go/actor/props.go
    • Line 9: warning: comment on exported type SpawnFunc should be of the form "SpawnFunc ..." (with optional leading article) (golint)
    • Line 11: warning: exported type ReceiverMiddleware should have comment or be unexported (golint)
    • Line 12: warning: exported type SenderMiddleware should have comment or be unexported (golint)
    • Line 13: warning: exported type ContextDecorator should have comment or be unexported (golint)
    • Line 14: warning: exported type SpawnMiddleware should have comment or be unexported (golint)
    • Line 145: warning: comment on exported method Props.WithReceiverMiddleware should be of the form "WithReceiverMiddleware ..." (golint)
    • Line 157: warning: exported method Props.WithSenderMiddleware should have comment or be unexported (golint)
    • Line 180: warning: exported method Props.WithSpawnMiddleware should have comment or be unexported (golint)
    • protoactor-go/remote/server.go
    • Line 19: warning: exported type Remote should have comment or be unexported (golint)
    • Line 29: warning: exported function NewRemote should have comment or be unexported (golint)
    • Line 41: warning: exported function GetRemote should have comment or be unexported (golint)
    • Line 47: warning: exported method Remote.Id should have comment or be unexported (golint)
    • Line 79: warning: exported method Remote.Shutdown should have comment or be unexported (golint)
    • Line 107: warning: exported method Remote.SendMessage should have comment or be unexported (golint)
    • protoactor-go/stream/untyped.go
    • Line 5: warning: exported type UntypedStream should have comment or be unexported (golint)
    • Line 11: warning: exported method UntypedStream.C should have comment or be unexported (golint)
    • Line 15: warning: exported method UntypedStream.PID should have comment or be unexported (golint)
    • Line 19: warning: exported method UntypedStream.Close should have comment or be unexported (golint)
    • Line 24: warning: exported function NewUntypedStream should have comment or be unexported (golint)
    • protoactor-go/cluster/config.go
    • Line 11: warning: exported type Config should have comment or be unexported (golint)
    • Line 21: warning: exported function Configure should have comment or be unexported (golint)
    • Line 38: warning: exported method Config.WithTimeout should have comment or be unexported (golint)
    • Line 43: warning: exported type Kind should have comment or be unexported (golint)
    • Line 48: warning: exported function NewKind should have comment or be unexported (golint)
    • protoactor-go/cluster/rendezvous.go
    • Line 12: warning: exported type Rendezvous should have comment or be unexported (golint)
    • Line 18: warning: exported function NewRendezvous should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method Rendezvous.GetByRdv should be of the form "GetByRdv ..." (golint)
    • Line 56: warning: exported method Rendezvous.UpdateRdv should have comment or be unexported (golint)
    • protoactor-go/actor/config.go
    • Line 5: warning: exported type Config should have comment or be unexported (golint)
    • Line 25: warning: exported function NewConfig should have comment or be unexported (golint)
    • Line 29: warning: exported method Config.WithDeadLetterThrottleInterval should have comment or be unexported (golint)
    • Line 34: warning: exported method Config.WithDeadLetterThrottleCount should have comment or be unexported (golint)
    • Line 39: warning: exported method Config.WithDeadLetterRequestLogging should have comment or be unexported (golint)
    • Line 44: warning: exported method Config.WithDeveloperSupervisionLogging should have comment or be unexported (golint)
    • Line 49: warning: exported method Config.WithDiagnosticsSerializer should have comment or be unexported (golint)
    • protoactor-go/cluster/zk/zk_provider.go
    • Line 24: warning: exported type RoleType should have comment or be unexported (golint)
    • Line 27: warning: exported const Follower should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported type Provider should have comment or be unexported (golint)
    • Line 92: warning: exported method Provider.IsLeader should have comment or be unexported (golint)
    • Line 117: warning: exported method Provider.StartMember should have comment or be unexported (golint)
    • Line 147: warning: exported method Provider.StartClient should have comment or be unexported (golint)
    • Line 163: warning: exported method Provider.Shutdown should have comment or be unexported (golint)
    • Line 177: warning: exported method Provider.UpdateClusterState should have comment or be unexported (golint)
    • Line 518: warning: receiver name pro should be consistent with previous receiver name p for Provider (golint)
    • protoactor-go/remote/config.go
    • Line 21: warning: exported method Config.WithEndpointWriterBatchSize should have comment or be unexported (golint)
    • Line 26: warning: exported method Config.WithEndpointWriterQueueSize should have comment or be unexported (golint)
    • Line 31: warning: exported method Config.WithEndpointManagerBatchSize should have comment or be unexported (golint)
    • Line 36: warning: exported method Config.WithEndpointManagerQueueSize should have comment or be unexported (golint)
    • Line 41: warning: exported method Config.WithDialOptions should have comment or be unexported (golint)
    • Line 46: warning: exported method Config.WithServerOptions should have comment or be unexported (golint)
    • Line 51: warning: exported method Config.WithCallOptions should have comment or be unexported (golint)
    • Line 56: warning: exported method Config.WithAdvertisedHost should have comment or be unexported (golint)
    • Line 61: warning: exported method Config.Address should have comment or be unexported (golint)
    • Line 65: warning: exported function Configure should have comment or be unexported (golint)
    • Line 76: warning: exported type Config should have comment or be unexported (golint)
    • Line 90: warning: exported type Kind should have comment or be unexported (golint)
    • Line 95: warning: exported function NewKind should have comment or be unexported (golint)
    • protoactor-go/remote/messages.go
    • Line 5: warning: exported type EndpointTerminatedEvent should have comment or be unexported (golint)
    • Line 9: warning: exported type EndpointConnectedEvent should have comment or be unexported (golint)
    • Line 36: warning: exported type JsonMessage should have comment or be unexported (golint)
    • Line 46: warning: exported var ActorPidRespErr should have comment or be unexported (golint)
    • protoactor-go/cluster/cluster_provider.go
    • Line 3: warning: exported type TopologyEvent should have comment or be unexported (golint)
    • Line 5: warning: exported type ClusterState should have comment or be unexported (golint)
    • Line 9: warning: exported type ClusterProvider should have comment or be unexported (golint)
    • protoactor-go/cluster/automanaged/automanaged.go
    • Line 30: warning: exported type AutoManagedProvider should have comment or be unexported (golint)
    • Line 116: warning: exported method AutoManagedProvider.StartMember should have comment or be unexported (golint)
    • Line 125: warning: exported method AutoManagedProvider.StartClient should have comment or be unexported (golint)
    • Line 194: warning: exported method AutoManagedProvider.UpdateClusterState should have comment or be unexported (golint)
    • protoactor-go/actor/message_envelope.go
    • Line 33: warning: exported type ReadonlyMessageHeader should have comment or be unexported (golint)
    • Line 40: warning: exported type MessageEnvelope should have comment or be unexported (golint)
    • Line 46: warning: exported method MessageEnvelope.GetHeader should have comment or be unexported (golint)
    • Line 53: warning: exported method MessageEnvelope.SetHeader should have comment or be unexported (golint)
    • Line 61: warning: exported var EmptyMessageHeader should have comment or be unexported (golint)
    • Line 64: warning: exported function WrapEnvelope should have comment or be unexported (golint)
    • Line 71: warning: exported function UnwrapEnvelope should have comment or be unexported (golint)
    • Line 78: warning: exported function UnwrapEnvelopeHeader should have comment or be unexported (golint)
    • Line 85: warning: exported function UnwrapEnvelopeMessage should have comment or be unexported (golint)
    • Line 92: warning: exported function UnwrapEnvelopeSender should have comment or be unexported (golint)
    • protoactor-go/actor/middleware/propagator/middlewarepropagation.go
    • Line 7: warning: exported type MiddlewarePropagator should have comment or be unexported (golint)
    • Line 14: warning: exported function New should have comment or be unexported (golint)
    • Line 18: warning: exported method MiddlewarePropagator.WithItselfForwarded should have comment or be unexported (golint)
    • Line 22: warning: exported method MiddlewarePropagator.WithSpawnMiddleware should have comment or be unexported (golint)
    • Line 27: warning: exported method MiddlewarePropagator.WithSenderMiddleware should have comment or be unexported (golint)
    • Line 32: warning: exported method MiddlewarePropagator.WithReceiverMiddleware should have comment or be unexported (golint)
    • Line 37: warning: exported method MiddlewarePropagator.WithContextDecorator should have comment or be unexported (golint)
    • Line 42: warning: exported method MiddlewarePropagator.SpawnMiddleware should have comment or be unexported (golint)
    • protoactor-go/cluster/consul/consul_provider.go
    • Line 16: warning: error var ProviderShuttingDownError should have name of the form ErrFoo (golint)
    • Line 16: warning: exported var ProviderShuttingDownError should have comment or be unexported (golint)
    • Line 20: warning: exported type Provider should have comment or be unexported (golint)
    • Line 41: warning: exported function New should have comment or be unexported (golint)
    • Line 45: warning: exported function NewWithConfig should have comment or be unexported (golint)
    • Line 82: warning: exported method Provider.StartMember should have comment or be unexported (golint)
    • Line 99: warning: exported method Provider.StartClient should have comment or be unexported (golint)
    • Line 106: warning: exported method Provider.DeregisterMember should have comment or be unexported (golint)
    • Line 116: warning: exported method Provider.Shutdown should have comment or be unexported (golint)
    • Line 131: warning: exported method Provider.UpdateClusterState should have comment or be unexported (golint)
    • protoactor-go/mailbox/priority_queue.go
    • Line 23: warning: exported const DefaultPriority should have comment or be unexported (golint)
    • Line 25: warning: exported type PriorityMessage should have comment or be unexported (golint)
    • Line 33: warning: exported function NewPriorityQueue should have comment or be unexported (golint)
    • protoactor-go/actor/actor_system.go
    • Line 11: warning: comment on exported type ActorSystem should be of the form "ActorSystem ..." (with optional leading article) (golint)
    • Line 22: warning: exported method ActorSystem.NewLocalPID should have comment or be unexported (golint)
    • Line 26: warning: exported method ActorSystem.Address should have comment or be unexported (golint)
    • Line 30: warning: exported method ActorSystem.GetHostPort should have comment or be unexported (golint)
    • Line 45: warning: exported function NewActorSystem should have comment or be unexported (golint)
    • Line 49: warning: exported function NewActorSystemWithConfig should have comment or be unexported (golint)
    • protoactor-go/actor/supervision.go
    • Line 42: warning: exported function DefaultSupervisorStrategy should have comment or be unexported (golint)
    • Line 46: warning: exported function RestartingSupervisorStrategy should have comment or be unexported (golint)
    • protoactor-go/mailbox/unbounded_priority.go
    • Line 8: warning: exported function NewPriorityGoringQueue should have comment or be unexported (golint)
    • Line 16: warning: exported function UnboundedPriority should have comment or be unexported (golint)
    • Line 26: warning: exported function NewPriorityMpscQueue should have comment or be unexported (golint)
    • Line 32: warning: exported function UnboundedPriorityMpsc should have comment or be unexported (golint)
    • protoactor-go/log/log.go
    • Line 15: warning: exported const MinLevel should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type Logger should have comment or be unexported (golint)
    • Line 53: warning: exported method Logger.WithCaller should have comment or be unexported (golint)
    • Line 58: warning: exported method Logger.With should have comment or be unexported (golint)
    • Line 80: warning: exported method Logger.Level should have comment or be unexported (golint)
    • Line 84: warning: exported method Logger.SetLevel should have comment or be unexported (golint)
    • Line 103: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 109: warning: exported method Logger.Info should have comment or be unexported (golint)
    • Line 115: warning: exported method Logger.Warn should have comment or be unexported (golint)
    • protoactor-go/actor/context.go
    • Line 16: warning: exported type SenderContext should have comment or be unexported (golint)
    • Line 22: warning: exported type ReceiverContext should have comment or be unexported (golint)
    • Line 28: warning: exported type SpawnerContext should have comment or be unexported (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell99%

Misspell Finds commonly misspelled English words