Preparing report...

Report for github.com/aergoio/aergo-actor

A+    Excellent!    Found 76 issues across 199 files

Tweet

gofmt97%

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!


gocyclo97%

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.


golint62%

Golint is a linter for Go source code.

    • aergo-actor/cluster/member_status.go
    • Line 5: warning: exported type MemberStatus should have comment or be unexported (golint)
    • Line 14: warning: exported method MemberStatus.Address should have comment or be unexported (golint)
    • Line 18: warning: exported type MemberStatusValue should have comment or be unexported (golint)
    • Line 22: warning: exported type MemberStatusValueSerializer should have comment or be unexported (golint)
    • Line 27: warning: exported type NilMemberStatusValueSerializer should have comment or be unexported (golint)
    • Line 29: warning: exported method NilMemberStatusValueSerializer.ToValueBytes should have comment or be unexported (golint)
    • Line 33: warning: exported method NilMemberStatusValueSerializer.FromValueBytes should have comment or be unexported (golint)
    • aergo-actor/router/config.go
    • Line 7: warning: exported type RouterType should have comment or be unexported (golint)
    • Line 10: warning: exported const GroupRouterType should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type RouterConfig should have comment or be unexported (golint)
    • Line 20: warning: exported type GroupRouter should have comment or be unexported (golint)
    • Line 24: warning: exported type PoolRouter should have comment or be unexported (golint)
    • Line 28: warning: exported method GroupRouter.OnStarted should have comment or be unexported (golint)
    • Line 35: warning: exported method GroupRouter.RouterType should have comment or be unexported (golint)
    • Line 39: warning: exported method PoolRouter.OnStarted should have comment or be unexported (golint)
    • Line 47: warning: exported method PoolRouter.RouterType should have comment or be unexported (golint)
    • aergo-actor/actor/future.go
    • Line 39: warning: exported type Future should have comment or be unexported (golint)
    • Line 98: warning: exported method Future.Wait should have comment or be unexported (golint)
    • aergo-actor/actor/supervision.go
    • Line 40: warning: exported function DefaultSupervisorStrategy should have comment or be unexported (golint)
    • Line 44: warning: exported function RestartingSupervisorStrategy should have comment or be unexported (golint)
    • aergo-actor/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)
    • aergo-actor/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)
    • Line 32: warning: receiver name ps should be consistent with previous receiver name es for eventStream (golint)
    • Line 55: warning: receiver name ps should be consistent with previous receiver name es for eventStream (golint)
    • aergo-actor/actor/props.go
    • Line 5: warning: exported type InboundMiddleware should have comment or be unexported (golint)
    • Line 6: warning: exported type OutboundMiddleware should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method Props.WithMiddleware should be of the form "WithMiddleware ..." (golint)
    • Line 54: warning: exported method Props.WithOutboundMiddleware should have comment or be unexported (golint)
    • Line 101: warning: comment on exported method Props.WithInstance should be of the form "WithInstance ..." (golint)
    • aergo-actor/eventstream/eventstream.go
    • Line 12: warning: exported function Subscribe should have comment or be unexported (golint)
    • Line 16: warning: exported function Unsubscribe should have comment or be unexported (golint)
    • Line 20: warning: exported function Publish should have comment or be unexported (golint)
    • Line 24: warning: exported type EventStream should have comment or be unexported (golint)
    • Line 29: warning: exported method EventStream.Subscribe should have comment or be unexported (golint)
    • Line 41: warning: exported method EventStream.Unsubscribe should have comment or be unexported (golint)
    • Line 41: warning: receiver name ps should be consistent with previous receiver name es for EventStream (golint)
    • Line 64: warning: exported method EventStream.Publish should have comment or be unexported (golint)
    • Line 64: warning: receiver name ps should be consistent with previous receiver name es for EventStream (golint)
    • aergo-actor/cluster/consul/consul_provider.go
    • Line 13: warning: exported type ConsulProvider should have comment or be unexported (golint)
    • Line 31: warning: exported function New should have comment or be unexported (golint)
    • Line 35: warning: exported function NewWithConfig should have comment or be unexported (golint)
    • Line 50: warning: exported method ConsulProvider.RegisterMember should have comment or be unexported (golint)
    • Line 82: warning: exported method ConsulProvider.DeregisterMember should have comment or be unexported (golint)
    • Line 97: warning: exported method ConsulProvider.Shutdown should have comment or be unexported (golint)
    • Line 108: warning: exported method ConsulProvider.UpdateTTL should have comment or be unexported (golint)
    • Line 117: warning: exported method ConsulProvider.UpdateMemberStatusValue should have comment or be unexported (golint)
    • Line 254: warning: exported method ConsulProvider.MonitorMemberStatusChanges should have comment or be unexported (golint)
    • aergo-actor/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)
    • aergo-actor/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 60: warning: exported function UnwrapEnvelope should have comment or be unexported (golint)
    • aergo-actor/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)
    • aergo-actor/cluster/weighted/weighted_round_robin.go
    • Line 9: warning: exported type WeightedRoundRobin should have comment or be unexported (golint)
    • Line 18: warning: exported function NewWeightedRoundRobin should have comment or be unexported (golint)
    • Line 22: warning: exported method WeightedRoundRobin.GetByRoundRobin should have comment or be unexported (golint)
    • Line 54: warning: exported method WeightedRoundRobin.UpdateRR should have comment or be unexported (golint)
    • aergo-actor/stream/untyped.go
    • Line 5: warning: exported type UntypedStream should have comment or be unexported (golint)
    • Line 10: warning: exported method UntypedStream.C should have comment or be unexported (golint)
    • Line 14: warning: exported method UntypedStream.PID should have comment or be unexported (golint)
    • Line 18: warning: exported method UntypedStream.Close should have comment or be unexported (golint)
    • Line 23: warning: exported function NewUntypedStream should have comment or be unexported (golint)
    • aergo-actor/examples/cluster/shared/protos_protoactor.go
    • Line 22: warning: exported function HelloFactory should have comment or be unexported (golint)
    • Line 26: warning: exported function GetHelloGrain should have comment or be unexported (golint)
    • Line 30: warning: exported type Hello should have comment or be unexported (golint)
    • Line 40: warning: exported type HelloGrain should have comment or be unexported (golint)
    • Line 45: warning: exported method HelloGrain.SayHello should have comment or be unexported (golint)
    • Line 49: warning: exported method HelloGrain.SayHelloWithOpts should have comment or be unexported (golint)
    • Line 85: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 94: warning: exported method HelloGrain.SayHelloChan should have comment or be unexported (golint)
    • Line 98: warning: exported method HelloGrain.SayHelloChanWithOpts should have comment or be unexported (golint)
    • Line 114: warning: exported method HelloGrain.Add should have comment or be unexported (golint)
    • Line 118: warning: exported method HelloGrain.AddWithOpts should have comment or be unexported (golint)
    • Line 154: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 163: warning: exported method HelloGrain.AddChan should have comment or be unexported (golint)
    • Line 167: warning: exported method HelloGrain.AddChanWithOpts should have comment or be unexported (golint)
    • Line 183: warning: exported method HelloGrain.VoidFunc should have comment or be unexported (golint)
    • Line 187: warning: exported method HelloGrain.VoidFuncWithOpts should have comment or be unexported (golint)
    • Line 223: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 232: warning: exported method HelloGrain.VoidFuncChan should have comment or be unexported (golint)
    • Line 236: warning: exported method HelloGrain.VoidFuncChanWithOpts should have comment or be unexported (golint)
    • Line 253: warning: exported type HelloActor should have comment or be unexported (golint)
    • Line 257: warning: exported method HelloActor.Receive should have comment or be unexported (golint)
    • aergo-actor/log/log.go
    • Line 11: warning: exported type Level should have comment or be unexported (golint)
    • Line 14: warning: exported const MinLevel should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type Logger should have comment or be unexported (golint)
    • Line 27: warning: exported function New should have comment or be unexported (golint)
    • Line 31: warning: exported method Logger.With should have comment or be unexported (golint)
    • Line 53: warning: exported method Logger.Level should have comment or be unexported (golint)
    • Line 57: warning: exported method Logger.SetLevel should have comment or be unexported (golint)
    • Line 61: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 67: warning: exported method Logger.Info should have comment or be unexported (golint)
    • aergo-actor/actor/pidset.go
    • Line 5: warning: exported type PIDSet should have comment or be unexported (golint)
    • Line 146: warning: exported method PIDSet.Clone should have comment or be unexported (golint)
    • aergo-actor/cluster/weighted/weighted_member_strategy.go
    • Line 5: warning: exported type WeightedMemberStrategy should have comment or be unexported (golint)
    • Line 11: warning: exported function NewWeightedMemberStrategy should have comment or be unexported (golint)
    • Line 18: warning: exported method WeightedMemberStrategy.AddMember should have comment or be unexported (golint)
    • Line 24: warning: exported method WeightedMemberStrategy.UpdateMember should have comment or be unexported (golint)
    • Line 34: warning: exported method WeightedMemberStrategy.RemoveMember should have comment or be unexported (golint)
    • Line 45: warning: exported method WeightedMemberStrategy.GetAllMembers should have comment or be unexported (golint)
    • Line 49: warning: exported method WeightedMemberStrategy.GetPartition should have comment or be unexported (golint)
    • Line 53: warning: exported method WeightedMemberStrategy.GetActivator should have comment or be unexported (golint)
    • aergo-actor/actor/messages.go
    • Line 38: warning: exported type Failure should have comment or be unexported (golint)
    • Line 50: warning: exported method Restarting.AutoReceiveMessage should have comment or be unexported (golint)
    • Line 51: warning: exported method Stopping.AutoReceiveMessage should have comment or be unexported (golint)
    • Line 52: warning: exported method Stopped.AutoReceiveMessage should have comment or be unexported (golint)
    • Line 53: warning: exported method PoisonPill.AutoReceiveMessage should have comment or be unexported (golint)
    • Line 55: warning: exported method Started.SystemMessage should have comment or be unexported (golint)
    • Line 56: warning: exported method Stop.SystemMessage should have comment or be unexported (golint)
    • Line 57: warning: exported method Watch.SystemMessage should have comment or be unexported (golint)
    • Line 58: warning: exported method Unwatch.SystemMessage should have comment or be unexported (golint)
    • Line 59: warning: exported method Terminated.SystemMessage should have comment or be unexported (golint)
    • Line 60: warning: exported method Failure.SystemMessage should have comment or be unexported (golint)
    • Line 61: warning: exported method Restart.SystemMessage should have comment or be unexported (golint)
    • aergo-actor/remote/config.go
    • Line 18: warning: exported function WithEndpointWriterBatchSize should have comment or be unexported (golint)
    • Line 24: warning: exported function WithEndpointWriterQueueSize should have comment or be unexported (golint)
    • Line 30: warning: exported function WithEndpointManagerBatchSize should have comment or be unexported (golint)
    • Line 36: warning: exported function WithEndpointManagerQueueSize should have comment or be unexported (golint)
    • Line 42: warning: exported function WithDialOptions should have comment or be unexported (golint)
    • Line 48: warning: exported function WithServerOptions should have comment or be unexported (golint)
    • Line 54: warning: exported function WithCallOptions should have comment or be unexported (golint)
    • aergo-actor/examples/cluster-metrics/shared/protos_protoactor.go
    • Line 22: warning: exported function HelloFactory should have comment or be unexported (golint)
    • Line 26: warning: exported function GetHelloGrain should have comment or be unexported (golint)
    • Line 30: warning: exported type Hello should have comment or be unexported (golint)
    • Line 40: warning: exported type HelloGrain should have comment or be unexported (golint)
    • Line 45: warning: exported method HelloGrain.SayHello should have comment or be unexported (golint)
    • Line 49: warning: exported method HelloGrain.SayHelloWithOpts should have comment or be unexported (golint)
    • Line 85: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 94: warning: exported method HelloGrain.SayHelloChan should have comment or be unexported (golint)
    • Line 98: warning: exported method HelloGrain.SayHelloChanWithOpts should have comment or be unexported (golint)
    • Line 114: warning: exported method HelloGrain.Add should have comment or be unexported (golint)
    • Line 118: warning: exported method HelloGrain.AddWithOpts should have comment or be unexported (golint)
    • Line 154: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 163: warning: exported method HelloGrain.AddChan should have comment or be unexported (golint)
    • Line 167: warning: exported method HelloGrain.AddChanWithOpts should have comment or be unexported (golint)
    • Line 183: warning: exported method HelloGrain.VoidFunc should have comment or be unexported (golint)
    • Line 187: warning: exported method HelloGrain.VoidFuncWithOpts should have comment or be unexported (golint)
    • Line 223: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 232: warning: exported method HelloGrain.VoidFuncChan should have comment or be unexported (golint)
    • Line 236: warning: exported method HelloGrain.VoidFuncChanWithOpts should have comment or be unexported (golint)
    • Line 253: warning: exported type HelloActor should have comment or be unexported (golint)
    • Line 257: warning: exported method HelloActor.Receive should have comment or be unexported (golint)
    • aergo-actor/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 35: warning: exported method Mixin.PersistReceive should have comment or be unexported (golint)
    • Line 43: warning: exported method Mixin.PersistSnapshot should have comment or be unexported (golint)
    • aergo-actor/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)
    • aergo-actor/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 59: warning: exported method Rendezvous.UpdateRdv should have comment or be unexported (golint)
    • aergo-actor/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.GetEvents should have comment or be unexported (golint)
    • Line 73: warning: exported method InMemoryProvider.PersistEvent should have comment or be unexported (golint)
    • aergo-actor/remote/response_status_code.go
    • Line 3: warning: exported type ResponseStatusCode should have comment or be unexported (golint)
    • Line 6: warning: exported const ResponseStatusCodeOK should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported method ResponseStatusCode.ToInt32 should have comment or be unexported (golint)
    • aergo-actor/cluster/cluster.go
    • Line 13: warning: exported function Start should have comment or be unexported (golint)
    • Line 17: warning: exported function StartWithConfig should have comment or be unexported (golint)
    • Line 37: warning: exported function Shutdown should have comment or be unexported (golint)
    • Line 102: warning: comment on exported function GetMemberPIDs should be of the form "GetMemberPIDs ..." (golint)
    • aergo-actor/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 88: warning: exported method Queue.PopMany should have comment or be unexported (golint)
    • aergo-actor/examples/setbehavior/main.go
    • Line 10: warning: exported type Hello should have comment or be unexported (golint)
    • Line 11: warning: exported type SetBehaviorActor should have comment or be unexported (golint)
    • Line 13: warning: exported method SetBehaviorActor.Receive should have comment or be unexported (golint)
    • Line 21: warning: exported method SetBehaviorActor.Other should have comment or be unexported (golint)
    • Line 28: warning: exported function NewSetBehaviorActor should have comment or be unexported (golint)
    • aergo-actor/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 35: warning: exported function Deserialize should have comment or be unexported (golint)
    • aergo-actor/examples/persistence/main.go
    • Line 13: warning: exported type Provider should have comment or be unexported (golint)
    • Line 17: warning: exported function NewProvider should have comment or be unexported (golint)
    • Line 23: warning: exported method Provider.InitState should have comment or be unexported (golint)
    • Line 38: warning: exported method Provider.GetState should have comment or be unexported (golint)
    • Line 48: warning: exported type Message should have comment or be unexported (golint)
    • Line 49: warning: exported type Snapshot should have comment or be unexported (golint)
    • Line 51: warning: exported type Actor should have comment or be unexported (golint)
    • Line 56: warning: exported method Actor.Receive should have comment or be unexported (golint)
    • aergo-actor/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)
    • aergo-actor/router/consistent_hash_router.go
    • Line 12: warning: exported type Hasher should have comment or be unexported (golint)
    • Line 81: warning: exported function NewConsistentHashPool should have comment or be unexported (golint)
    • Line 85: warning: exported function NewConsistentHashGroup should have comment or be unexported (golint)
    • aergo-actor/actor/process_registry.go
    • Line 9: warning: exported type ProcessRegistryValue should have comment or be unexported (golint)
    • Line 31: warning: exported method ProcessRegistryValue.RegisterAddressResolver should have comment or be unexported (golint)
    • Line 57: warning: exported method ProcessRegistryValue.NextId should have comment or be unexported (golint)
    • Line 62: warning: exported method ProcessRegistryValue.Add should have comment or be unexported (golint)
    • Line 69: warning: exported method ProcessRegistryValue.Remove should have comment or be unexported (golint)
    • Line 76: warning: exported method ProcessRegistryValue.Get should have comment or be unexported (golint)
    • Line 96: warning: exported method ProcessRegistryValue.GetLocal should have comment or be unexported (golint)
    • aergo-actor/actor/actor.go
    • Line 21: warning: exported type SenderFunc should have comment or be unexported (golint)
    • Line 33: warning: exported function FromSpawnFunc should have comment or be unexported (golint)
    • Line 37: warning: comment on exported function FromInstance should be of the form "FromInstance ..." (golint)
    • aergo-actor/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)
    • aergo-actor/examples/mixins/main.go
    • Line 24: warning: exported type NameAware should have comment or be unexported (golint)
    • Line 28: warning: exported type NameAwareHolder should have comment or be unexported (golint)
    • Line 32: warning: exported method NameAwareHolder.SetName should have comment or be unexported (golint)
    • Line 36: warning: exported type NamerPlugin should have comment or be unexported (golint)
    • Line 38: warning: exported method NamerPlugin.OnStart should have comment or be unexported (golint)
    • Line 43: warning: exported method NamerPlugin.OnOtherMessage should have comment or be unexported (golint)
    • aergo-actor/cluster/cluster_config.go
    • Line 9: warning: exported type ClusterConfig should have comment or be unexported (golint)
    • Line 20: warning: exported function NewClusterConfig should have comment or be unexported (golint)
    • Line 32: warning: exported method ClusterConfig.WithRemotingOption should have comment or be unexported (golint)
    • Line 37: warning: exported method ClusterConfig.WithTimeout should have comment or be unexported (golint)
    • Line 42: warning: exported method ClusterConfig.WithInitialMemberStatusValue should have comment or be unexported (golint)
    • Line 47: warning: exported method ClusterConfig.WithMemberStatusValueSerializer should have comment or be unexported (golint)
    • Line 52: warning: exported method ClusterConfig.WithMemberStrategyBuilder should have comment or be unexported (golint)
    • aergo-actor/plugin/passivation.go
    • Line 10: warning: exported type PassivationAware should have comment or be unexported (golint)
    • Line 16: warning: exported type PassivationHolder should have comment or be unexported (golint)
    • Line 21: warning: exported method PassivationHolder.Reset should have comment or be unexported (golint)
    • Line 30: warning: exported method PassivationHolder.Init should have comment or be unexported (golint)
    • Line 43: warning: exported method PassivationHolder.Cancel should have comment or be unexported (golint)
    • Line 49: warning: exported type PassivationPlugin should have comment or be unexported (golint)
    • Line 53: warning: exported method PassivationPlugin.OnStart should have comment or be unexported (golint)
    • Line 59: warning: exported method PassivationPlugin.OnOtherMessage should have comment or be unexported (golint)
    • aergo-actor/cluster/weighted/weighted_member_status.go
    • Line 9: warning: exported type WeightedMemberStatusValue should have comment or be unexported (golint)
    • Line 13: warning: exported method WeightedMemberStatusValue.IsSame should have comment or be unexported (golint)
    • Line 23: warning: exported type WeightedMemberStatusValueSerializer should have comment or be unexported (golint)
    • Line 25: warning: exported method WeightedMemberStatusValueSerializer.ToValueBytes should have comment or be unexported (golint)
    • Line 30: warning: exported method WeightedMemberStatusValueSerializer.FromValueBytes should have comment or be unexported (golint)
    • aergo-actor/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)

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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!