Preparing report...

Report for github.com/mkawserm/flamed

A    Great!    Found 182 issues across 208 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


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.

    • flamed/pkg/storage/storage.go
    • Line 898: warning: cyclomatic complexity 20 of function (*Storage).buildIndex() is high (> 15) (gocyclo)
    • Line 995: warning: cyclomatic complexity 18 of function (*Storage).buildIndexByNamespace() is high (> 15) (gocyclo)

golint12%

Golint is a linter for Go source code.

    • flamed/pkg/app/grpc/service/globaloperation/service.go
    • Line 16: warning: exported type Service should have comment or be unexported (golint)
    • Line 21: warning: exported method Service.RegisterGRPCService should have comment or be unexported (golint)
    • Line 25: warning: exported method Service.Propose should have comment or be unexported (golint)
    • Line 89: warning: exported function NewGlobalOperationService should have comment or be unexported (golint)
    • flamed/pkg/tp/intkey/intkey.go
    • Line 13: warning: exported type IntKey should have comment or be unexported (golint)
    • Line 16: warning: exported method IntKey.FamilyName should have comment or be unexported (golint)
    • Line 20: warning: exported method IntKey.FamilyVersion should have comment or be unexported (golint)
    • Line 24: warning: exported method IntKey.IndexObject should have comment or be unexported (golint)
    • Line 28: warning: exported method IntKey.Search should have comment or be unexported (golint)
    • Line 34: warning: exported method IntKey.Iterate should have comment or be unexported (golint)
    • Line 40: warning: exported method IntKey.Retrieve should have comment or be unexported (golint)
    • Line 111: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 135: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 175: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 227: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 281: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 289: warning: exported method IntKey.Apply should have comment or be unexported (golint)
    • flamed/pkg/app/grpc/server/server.go
    • Line 12: warning: exported type GRPCServer should have comment or be unexported (golint)
    • Line 18: warning: exported method GRPCServer.AddService should have comment or be unexported (golint)
    • Line 25: warning: exported method GRPCServer.GracefulStop should have comment or be unexported (golint)
    • Line 35: warning: exported method GRPCServer.Start should have comment or be unexported (golint)
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 80: warning: exported function NewGRPCServer should have comment or be unexported (golint)
    • flamed/pkg/tp/indexmeta/indexmeta.go
    • Line 16: warning: exported type IndexMeta should have comment or be unexported (golint)
    • Line 19: warning: exported method IndexMeta.FamilyName should have comment or be unexported (golint)
    • Line 23: warning: exported method IndexMeta.FamilyVersion should have comment or be unexported (golint)
    • Line 27: warning: exported method IndexMeta.IndexObject should have comment or be unexported (golint)
    • Line 31: warning: exported method IndexMeta.Search should have comment or be unexported (golint)
    • Line 37: warning: exported method IndexMeta.Iterate should have comment or be unexported (golint)
    • Line 43: warning: exported method IndexMeta.Retrieve should have comment or be unexported (golint)
    • Line 100: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 124: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 132: warning: exported method IndexMeta.Apply should have comment or be unexported (golint)
    • flamed/pkg/utility/graphql.go
    • Line 7: warning: exported type RequestOptions should have comment or be unexported (golint)
    • Line 13: warning: comment on exported type RequestOptionsCompatibility should be of the form "RequestOptionsCompatibility ..." (with optional leading article) (golint)
    • Line 20: warning: exported function ParseGraphQLQuery should have comment or be unexported (golint)
    • flamed/pkg/app/http/view/graphql/graphql.go
    • Line 18: warning: exported type GraphQL should have comment or be unexported (golint)
    • Line 23: warning: exported method GraphQL.GetHTTPHandler should have comment or be unexported (golint)
    • Line 117: warning: exported function NewGraphQLView should have comment or be unexported (golint)
    • flamed/pkg/tp/json/client.go
    • Line 15: warning: exported var ErrInvalidID should have comment or be unexported (golint)
    • Line 16: warning: exported var ErrEmptyBatch should have comment or be unexported (golint)
    • Line 17: warning: exported var ErrUnexpectedNilValue should have comment or be unexported (golint)
    • Line 18: warning: exported var ErrIdIsNotAvailable should have comment or be unexported (golint)
    • Line 20: warning: exported type Batch should have comment or be unexported (golint)
    • Line 30: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 119: warning: exported method Batch.Reset should have comment or be unexported (golint)
    • Line 123: warning: exported method Batch.Clear should have comment or be unexported (golint)
    • Line 127: warning: exported method Batch.Merge should have comment or be unexported (golint)
    • Line 131: warning: exported method Batch.MergeJSONMap should have comment or be unexported (golint)
    • Line 135: warning: exported method Batch.Insert should have comment or be unexported (golint)
    • Line 139: warning: exported method Batch.InsertJSONMap should have comment or be unexported (golint)
    • Line 143: warning: exported method Batch.Update should have comment or be unexported (golint)
    • Line 147: warning: exported method Batch.UpdateJSONMap should have comment or be unexported (golint)
    • Line 151: warning: exported method Batch.Upsert should have comment or be unexported (golint)
    • Line 155: warning: exported method Batch.UpsertJSONMap should have comment or be unexported (golint)
    • Line 159: warning: exported method Batch.Delete should have comment or be unexported (golint)
    • Line 163: warning: exported method Batch.DeleteJSONMap should have comment or be unexported (golint)
    • Line 167: warning: exported method Batch.AppendTransaction should have comment or be unexported (golint)
    • Line 180: warning: exported type Client should have comment or be unexported (golint)
    • Line 189: warning: exported method Client.UpdateMaxBatchLength should have comment or be unexported (golint)
    • Line 193: warning: exported method Client.UpdateTimeout should have comment or be unexported (golint)
    • Line 197: warning: exported method Client.Setup should have comment or be unexported (golint)
    • Line 217: warning: exported method Client.NewBatch should have comment or be unexported (golint)
    • Line 225: warning: exported method Client.ApplyBatch should have comment or be unexported (golint)
    • Line 247: warning: exported method Client.Get should have comment or be unexported (golint)
    • Line 272: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 280: warning: exported method Client.GetList should have comment or be unexported (golint)
    • Line 312: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 323: warning: exported method Client.GetListByIndexID should have comment or be unexported (golint)
    • Line 355: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 366: warning: exported method Client.Merge should have comment or be unexported (golint)
    • Line 379: warning: exported method Client.MergeJSONMap should have comment or be unexported (golint)
    • Line 392: warning: exported method Client.Insert should have comment or be unexported (golint)
    • Line 405: warning: exported method Client.InsertJSONMap should have comment or be unexported (golint)
    • Line 418: warning: exported method Client.Upsert should have comment or be unexported (golint)
    • Line 431: warning: exported method Client.UpsertJSONMap should have comment or be unexported (golint)
    • Line 444: warning: exported method Client.Update should have comment or be unexported (golint)
    • Line 457: warning: exported method Client.UpdateJSONMap should have comment or be unexported (golint)
    • Line 470: warning: exported method Client.Delete should have comment or be unexported (golint)
    • Line 483: warning: exported method Client.DeleteJSONMap should have comment or be unexported (golint)
    • Line 496: warning: exported method Client.GetNamespaceString should have comment or be unexported (golint)
    • Line 500: warning: exported method Client.GetNamespaceBytes should have comment or be unexported (golint)
    • Line 504: warning: exported method Client.GetStateAddress should have comment or be unexported (golint)
    • Line 508: warning: exported method Client.GetStateAddressHexString should have comment or be unexported (golint)
    • flamed/pkg/tp/user/user.go
    • Line 16: warning: exported type User should have comment or be unexported (golint)
    • Line 19: warning: exported method User.FamilyName should have comment or be unexported (golint)
    • Line 23: warning: exported method User.FamilyVersion should have comment or be unexported (golint)
    • Line 27: warning: exported method User.IndexObject should have comment or be unexported (golint)
    • Line 31: warning: exported method User.Search should have comment or be unexported (golint)
    • Line 37: warning: exported method User.Iterate should have comment or be unexported (golint)
    • Line 43: warning: exported method User.Retrieve should have comment or be unexported (golint)
    • Line 101: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 124: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 132: warning: exported method User.Apply should have comment or be unexported (golint)
    • flamed/pkg/pb/pr.go
    • Line 3: warning: exported method ProposalResponse.Append should have comment or be unexported (golint)
    • Line 10: warning: exported function NewProposalResponse should have comment or be unexported (golint)
    • flamed/pkg/iface/storage.go
    • Line 12: warning: exported type IStorageConfiguration should have comment or be unexported (golint)
    • Line 43: warning: exported type IStorage should have comment or be unexported (golint)
    • flamed/pkg/flamed/flamed.go
    • Line 12: warning: exported type Flamed should have comment or be unexported (golint)
    • Line 16: warning: exported method Flamed.ConfigureNode should have comment or be unexported (golint)
    • Line 20: warning: exported method Flamed.StartOnDiskCluster should have comment or be unexported (golint)
    • Line 28: warning: exported method Flamed.StopCluster should have comment or be unexported (golint)
    • Line 32: warning: exported method Flamed.IsClusterIDAvailable should have comment or be unexported (golint)
    • Line 36: warning: exported method Flamed.StopNode should have comment or be unexported (golint)
    • Line 40: warning: exported method Flamed.TotalCluster should have comment or be unexported (golint)
    • Line 44: warning: exported method Flamed.ClusterIDList should have comment or be unexported (golint)
    • Line 48: warning: exported method Flamed.NodeHostConfig should have comment or be unexported (golint)
    • Line 52: warning: exported method Flamed.RaftAddress should have comment or be unexported (golint)
    • Line 56: warning: exported method Flamed.GetNodeHostInfo should have comment or be unexported (golint)
    • Line 60: warning: exported method Flamed.NewNodeAdmin should have comment or be unexported (golint)
    • Line 64: warning: exported method Flamed.NewAdmin should have comment or be unexported (golint)
    • Line 72: warning: exported method Flamed.NewGlobalOperation should have comment or be unexported (golint)
    • Line 89: warning: exported function NewFlamed should have comment or be unexported (golint)
    • flamed/pkg/variant/request.go
    • Line 5: warning: exported type LookupRequest should have comment or be unexported (golint)
    • Line 13: warning: exported type SearchRequest should have comment or be unexported (golint)
    • flamed/pkg/app/configcmd.go
    • Line 11: warning: exported var ConfigCMD should have comment or be unexported (golint)
    • Line 19: warning: exported var ConfigCreateCMD should have comment or be unexported (golint)
    • flamed/doc.go
    • Line 1: warning: package comment should be of the form "Package flamed ..." (golint)
    • flamed/pkg/context/flamedcontext.go
    • Line 10: warning: exported type FlamedContext should have comment or be unexported (golint)
    • Line 17: warning: exported method FlamedContext.Flamed should have comment or be unexported (golint)
    • Line 23: warning: exported method FlamedContext.TransactionProcessorMap should have comment or be unexported (golint)
    • Line 29: warning: exported method FlamedContext.GlobalRequestTimeout should have comment or be unexported (golint)
    • Line 35: warning: exported method FlamedContext.AddTP should have comment or be unexported (golint)
    • Line 41: warning: exported method FlamedContext.SetFlamed should have comment or be unexported (golint)
    • Line 47: warning: exported method FlamedContext.SetGlobalTimeout should have comment or be unexported (golint)
    • Line 53: warning: exported function NewFlamedContext should have comment or be unexported (golint)
    • flamed/pkg/app/http/server/server.go
    • Line 10: warning: exported type HTTPServer should have comment or be unexported (golint)
    • Line 15: warning: exported method HTTPServer.AddView should have comment or be unexported (golint)
    • Line 19: warning: exported method HTTPServer.AddHandlerFunc should have comment or be unexported (golint)
    • Line 23: warning: exported method HTTPServer.Start should have comment or be unexported (golint)
    • Line 29: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 35: warning: exported method HTTPServer.Shutdown should have comment or be unexported (golint)
    • Line 39: warning: exported function NewHTTPServer should have comment or be unexported (golint)
    • flamed/pkg/plugin/storage/state/badger/badger.go
    • Line 14: warning: exported type Iterator should have comment or be unexported (golint)
    • Line 18: warning: exported method Iterator.Next should have comment or be unexported (golint)
    • Line 22: warning: exported method Iterator.Rewind should have comment or be unexported (golint)
    • Line 26: warning: exported method Iterator.Close should have comment or be unexported (golint)
    • Line 30: warning: exported method Iterator.Valid should have comment or be unexported (golint)
    • Line 34: warning: exported method Iterator.Seek should have comment or be unexported (golint)
    • Line 38: warning: exported method Iterator.StateSnapshot should have comment or be unexported (golint)
    • Line 57: warning: exported method Iterator.ValidForPrefix should have comment or be unexported (golint)
    • Line 61: warning: exported type Transaction should have comment or be unexported (golint)
    • Line 66: warning: exported method Transaction.Discard should have comment or be unexported (golint)
    • Line 70: warning: exported method Transaction.Commit should have comment or be unexported (golint)
    • Line 74: warning: exported method Transaction.Delete should have comment or be unexported (golint)
    • Line 78: warning: exported method Transaction.Get should have comment or be unexported (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 96: warning: exported method Transaction.Set should have comment or be unexported (golint)
    • Line 100: warning: exported method Transaction.ForwardIterator should have comment or be unexported (golint)
    • Line 108: warning: exported method Transaction.ReverseIterator should have comment or be unexported (golint)
    • Line 116: warning: exported method Transaction.KeyOnlyForwardIterator should have comment or be unexported (golint)
    • Line 124: warning: exported method Transaction.KeyOnlyReverseIterator should have comment or be unexported (golint)
    • Line 132: warning: exported type Badger should have comment or be unexported (golint)
    • Line 139: warning: exported method Badger.StateStorageName should have comment or be unexported (golint)
    • Line 143: warning: exported method Badger.Setup should have comment or be unexported (golint)
    • Line 193: warning: exported method Badger.Open should have comment or be unexported (golint)
    • Line 215: warning: exported method Badger.Close should have comment or be unexported (golint)
    • Line 238: warning: exported method Badger.RunGC should have comment or be unexported (golint)
    • Line 250: warning: exported method Badger.ChangeSecretKey should have comment or be unexported (golint)
    • Line 283: warning: exported method Badger.NewTransaction should have comment or be unexported (golint)
    • Line 290: warning: exported method Badger.NewReadOnlyTransaction should have comment or be unexported (golint)
    • flamed/pkg/iface/statestorage.go
    • Line 8: warning: exported type IStateStorageIterator should have comment or be unexported (golint)
    • Line 18: warning: exported type IStateStorageTransaction should have comment or be unexported (golint)
    • Line 31: warning: exported type IStateStorage should have comment or be unexported (golint)
    • flamed/pkg/logger/logger.go
    • Line 16: warning: exported type SugaredLogger should have comment or be unexported (golint)
    • Line 20: warning: exported method SugaredLogger.Warningf should have comment or be unexported (golint)
    • Line 24: warning: exported method SugaredLogger.SetLevel should have comment or be unexported (golint)
    • Line 27: warning: exported type Factory should have comment or be unexported (golint)
    • Line 38: warning: exported method Factory.ChangeLogLevel should have comment or be unexported (golint)
    • Line 60: warning: exported method Factory.SetupZapLogger should have comment or be unexported (golint)
    • Line 67: warning: exported method Factory.GetZapLogger should have comment or be unexported (golint)
    • Line 89: warning: exported method Factory.S should have comment or be unexported (golint)
    • Line 96: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 103: warning: exported method Factory.L should have comment or be unexported (golint)
    • Line 110: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 138: warning: exported function GetLoggerFactory should have comment or be unexported (golint)
    • Line 142: warning: exported function CS should have comment or be unexported (golint)
    • Line 156: warning: exported function DragonboatLoggerFactory should have comment or be unexported (golint)
    • flamed/pkg/conf/simple.go
    • Line 8: warning: exported function SimpleRaftConfiguration should have comment or be unexported (golint)
    • Line 25: warning: exported function SimpleNodeConfiguration should have comment or be unexported (golint)
    • Line 50: warning: exported function SimpleStoragedConfiguration should have comment or be unexported (golint)
    • Line 65: warning: exported function SimpleOnDiskClusterConfiguration should have comment or be unexported (golint)
    • flamed/pkg/app/graphql/kind/searchinput.go
    • Line 5: warning: exported var GQLNumericRangeFacetInputType should have comment or be unexported (golint)
    • Line 21: warning: exported var GQLDateTimeRangeFacetInputType should have comment or be unexported (golint)
    • Line 37: warning: exported var GQLFacetInputType should have comment or be unexported (golint)
    • Line 60: warning: exported var GQLSearchInputType should have comment or be unexported (golint)
    • flamed/pkg/app/utility/serverstatus.go
    • Line 12: warning: exported type ServerStatus should have comment or be unexported (golint)
    • Line 20: warning: exported method ServerStatus.HTTPServer should have comment or be unexported (golint)
    • Line 27: warning: exported method ServerStatus.SetHTTPServer should have comment or be unexported (golint)
    • Line 34: warning: exported method ServerStatus.GRPCServer should have comment or be unexported (golint)
    • Line 41: warning: exported method ServerStatus.SetGRPCServer should have comment or be unexported (golint)
    • Line 48: warning: exported method ServerStatus.RAFTServer should have comment or be unexported (golint)
    • Line 55: warning: exported method ServerStatus.SetRAFTServer should have comment or be unexported (golint)
    • Line 62: warning: exported function GetServerStatus should have comment or be unexported (golint)
    • flamed/pkg/flamed/nodeadmin.go
    • Line 15: warning: exported type NodeAdmin should have comment or be unexported (golint)
    • Line 22: warning: exported method NodeAdmin.UpdateTimeout should have comment or be unexported (golint)
    • Line 26: warning: exported method NodeAdmin.GetLeaderID should have comment or be unexported (golint)
    • Line 30: warning: exported method NodeAdmin.HasNodeInfo should have comment or be unexported (golint)
    • Line 34: warning: exported method NodeAdmin.GetNodeHostInfo should have comment or be unexported (golint)
    • Line 38: warning: exported method NodeAdmin.AddNode should have comment or be unexported (golint)
    • Line 49: warning: exported method NodeAdmin.AddObserver should have comment or be unexported (golint)
    • Line 60: warning: exported method NodeAdmin.AddWitness should have comment or be unexported (golint)
    • Line 71: warning: exported method NodeAdmin.DeleteNode should have comment or be unexported (golint)
    • Line 81: warning: exported method NodeAdmin.RequestSnapshot should have comment or be unexported (golint)
    • Line 99: warning: exported method NodeAdmin.GetAppliedIndex should have comment or be unexported (golint)
    • Line 111: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 116: warning: exported method NodeAdmin.GetClusterMembership should have comment or be unexported (golint)
    • Line 123: warning: exported method NodeAdmin.RunStorageGC should have comment or be unexported (golint)
    • Line 140: warning: exported method NodeAdmin.BuildIndex should have comment or be unexported (golint)
    • Line 157: warning: exported method NodeAdmin.BuildIndexByNamespace should have comment or be unexported (golint)
    • flamed/pkg/plugin/storage/index/blevescorch/blevescorch.go
    • Line 19: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 23: warning: exported type BleveScorch should have comment or be unexported (golint)
    • Line 29: warning: exported method BleveScorch.IndexStorageName should have comment or be unexported (golint)
    • Line 33: warning: exported method BleveScorch.Open should have comment or be unexported (golint)
    • Line 45: warning: exported method BleveScorch.UpsertIndexMeta should have comment or be unexported (golint)
    • Line 71: warning: exported method BleveScorch.DeleteIndexMeta should have comment or be unexported (golint)
    • Line 80: warning: exported method BleveScorch.DefaultIndexMeta should have comment or be unexported (golint)
    • Line 103: warning: exported method BleveScorch.CustomIndexRule should have comment or be unexported (golint)
    • Line 130: warning: exported method BleveScorch.ApplyIndex should have comment or be unexported (golint)
    • Line 171: warning: exported method BleveScorch.Close should have comment or be unexported (golint)
    • Line 175: warning: exported method BleveScorch.RunGC should have comment or be unexported (golint)
    • Line 179: warning: exported method BleveScorch.CanIndex should have comment or be unexported (golint)
    • Line 183: warning: exported method BleveScorch.GlobalSearch should have comment or be unexported (golint)
    • Line 261: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • flamed/pkg/app/app.go
    • Line 41: warning: exported type App should have comment or be unexported (golint)
    • Line 71: warning: exported method App.GetFlamedContext should have comment or be unexported (golint)
    • Line 78: warning: exported method App.GetTPMap should have comment or be unexported (golint)
    • Line 85: warning: exported method App.GetTransactionProcessorMap should have comment or be unexported (golint)
    • Line 92: warning: exported method App.SetProposalReceiver should have comment or be unexported (golint)
    • Line 99: warning: exported method App.GetProposalReceiver should have comment or be unexported (golint)
    • Line 120: warning: exported method App.SetPasswordHashAlgorithmFactory should have comment or be unexported (golint)
    • Line 127: warning: exported method App.GetPasswordHashAlgorithmFactory should have comment or be unexported (golint)
    • Line 134: warning: exported method App.EnableDefaultTransactionProcessors should have comment or be unexported (golint)
    • Line 141: warning: exported method App.DisableDefaultTransactionProcessors should have comment or be unexported (golint)
    • Line 148: warning: exported method App.EnableDefaultViews should have comment or be unexported (golint)
    • Line 155: warning: exported method App.DisableDefaultViews should have comment or be unexported (golint)
    • Line 162: warning: exported method App.EnableDefaultCommands should have comment or be unexported (golint)
    • Line 169: warning: exported method App.DisableDefaultCommands should have comment or be unexported (golint)
    • Line 176: warning: exported method App.EnableDefaultGRPCServices should have comment or be unexported (golint)
    • Line 183: warning: exported method App.DisableDefaultGRPCServices should have comment or be unexported (golint)
    • Line 190: warning: exported method App.UpdateGlobalRequestTimeout should have comment or be unexported (golint)
    • Line 197: warning: exported method App.AddGraphQLQuery should have comment or be unexported (golint)
    • Line 204: warning: exported method App.AddGraphQLMutation should have comment or be unexported (golint)
    • Line 211: warning: exported method App.AddGraphQLSubscription should have comment or be unexported (golint)
    • Line 218: warning: exported method App.AddHTTPView should have comment or be unexported (golint)
    • Line 225: warning: exported method App.AddGRPCService should have comment or be unexported (golint)
    • Line 229: warning: exported method App.AddTransactionProcessor should have comment or be unexported (golint)
    • Line 236: warning: exported method App.GetFlamed should have comment or be unexported (golint)
    • Line 243: warning: exported method App.AddCommand should have comment or be unexported (golint)
    • Line 508: warning: exported method App.Execute should have comment or be unexported (golint)
    • Line 519: warning: exported function GetApp should have comment or be unexported (golint)
    • flamed/pkg/app/grpc/service/admin/service.go
    • Line 15: warning: exported type Service should have comment or be unexported (golint)
    • Line 20: warning: exported method Service.RegisterGRPCService should have comment or be unexported (golint)
    • Line 24: warning: exported method Service.GetUser should have comment or be unexported (golint)
    • Line 48: warning: exported method Service.UpsertUser should have comment or be unexported (golint)
    • Line 90: warning: exported method Service.ChangeUserPassword should have comment or be unexported (golint)
    • Line 134: warning: exported method Service.DeleteUser should have comment or be unexported (golint)
    • Line 158: warning: exported method Service.GetAccessControl should have comment or be unexported (golint)
    • Line 183: warning: exported method Service.UpsertAccessControl should have comment or be unexported (golint)
    • Line 208: warning: exported method Service.DeleteAccessControl should have comment or be unexported (golint)
    • Line 232: warning: exported method Service.GetIndexMeta should have comment or be unexported (golint)
    • Line 257: warning: exported method Service.UpsertIndexMeta should have comment or be unexported (golint)
    • Line 282: warning: exported method Service.DeleteIndexMeta should have comment or be unexported (golint)
    • Line 307: warning: exported function NewAdminService should have comment or be unexported (golint)
    • flamed/pkg/flamed/admin.go
    • Line 18: warning: exported type Admin should have comment or be unexported (golint)
    • Line 24: warning: exported method Admin.UpdateTimeout should have comment or be unexported (golint)
    • Line 28: warning: exported method Admin.IsUserAvailable should have comment or be unexported (golint)
    • Line 46: warning: exported method Admin.GetUser should have comment or be unexported (golint)
    • Line 71: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 76: warning: exported method Admin.UpsertUser should have comment or be unexported (golint)
    • Line 114: warning: exported method Admin.DeleteUser should have comment or be unexported (golint)
    • Line 148: warning: exported method Admin.IsAccessControlAvailable should have comment or be unexported (golint)
    • Line 168: warning: exported method Admin.GetAccessControl should have comment or be unexported (golint)
    • Line 198: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 203: warning: exported method Admin.UpsertAccessControl should have comment or be unexported (golint)
    • Line 246: warning: exported method Admin.DeleteAccessControl should have comment or be unexported (golint)
    • Line 289: warning: exported method Admin.IsIndexMetaAvailable should have comment or be unexported (golint)
    • Line 307: warning: exported method Admin.GetIndexMeta should have comment or be unexported (golint)
    • Line 332: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 337: warning: exported method Admin.UpsertIndexMeta should have comment or be unexported (golint)
    • Line 371: warning: exported method Admin.DeleteIndexMeta should have comment or be unexported (golint)
    • flamed/pkg/flamed/globaloperation.go
    • Line 13: warning: exported type GlobalOperation should have comment or be unexported (golint)
    • Line 20: warning: exported method GlobalOperation.Namespace should have comment or be unexported (golint)
    • Line 24: warning: exported method GlobalOperation.ClusterID should have comment or be unexported (golint)
    • Line 28: warning: exported method GlobalOperation.Timeout should have comment or be unexported (golint)
    • Line 32: warning: exported method GlobalOperation.UpdateTimeout should have comment or be unexported (golint)
    • Line 36: warning: exported method GlobalOperation.Setup should have comment or be unexported (golint)
    • Line 52: warning: exported method GlobalOperation.Search should have comment or be unexported (golint)
    • Line 60: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 65: warning: exported method GlobalOperation.Retrieve should have comment or be unexported (golint)
    • Line 76: warning: exported method GlobalOperation.RetrieveByAddressStringList should have comment or be unexported (golint)
    • Line 86: warning: exported method GlobalOperation.RetrieveByAddressList should have comment or be unexported (golint)
    • Line 92: warning: exported method GlobalOperation.Iterate should have comment or be unexported (golint)
    • Line 112: warning: exported method GlobalOperation.Propose should have comment or be unexported (golint)
    • flamed/pkg/context/authcontext.go
    • Line 12: warning: exported type AuthContext should have comment or be unexported (golint)
    • Line 23: warning: exported method AuthContext.AddData should have comment or be unexported (golint)
    • Line 30: warning: exported method AuthContext.GetBasicUsernameAndPassword should have comment or be unexported (golint)
    • Line 45: warning: exported method AuthContext.GetUsernameFromAuth should have comment or be unexported (golint)
    • Line 55: warning: exported method AuthContext.GetUsernameAndPasswordFromAuth should have comment or be unexported (golint)
    • Line 65: warning: exported method AuthContext.GetAuthorizationData should have comment or be unexported (golint)
    • Line 92: warning: exported method AuthContext.AuthenticateSuperUser should have comment or be unexported (golint)
    • Line 101: warning: exported method AuthContext.Authenticate should have comment or be unexported (golint)
    • Line 110: warning: exported method AuthContext.IsSuperUserPasswordValid should have comment or be unexported (golint)
    • Line 131: warning: exported method AuthContext.IsUserPasswordValid should have comment or be unexported (golint)
    • flamed/pkg/iface/indexstorage.go
    • Line 9: warning: exported type IIndexStorageSearchResult should have comment or be unexported (golint)
    • Line 16: warning: exported type IIndexStorage should have comment or be unexported (golint)
    • flamed/pkg/crypto/factory.go
    • Line 10: warning: exported var ErrUnimplementedPasswordHashAlgorithm should have comment or be unexported (golint)
    • Line 13: warning: exported type PasswordHashAlgorithmFactory should have comment or be unexported (golint)
    • Line 17: warning: exported method PasswordHashAlgorithmFactory.IsAlgorithmAvailable should have comment or be unexported (golint)
    • Line 22: warning: exported method PasswordHashAlgorithmFactory.AppendPasswordHashAlgorithm should have comment or be unexported (golint)
    • Line 26: warning: exported method PasswordHashAlgorithmFactory.CheckPassword should have comment or be unexported (golint)
    • Line 31: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 36: warning: exported method PasswordHashAlgorithmFactory.MakePassword should have comment or be unexported (golint)
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 45: warning: exported function NewPasswordHashAlgorithmFactory should have comment or be unexported (golint)
    • Line 49: warning: exported function DefaultPasswordHashAlgorithmFactory should have comment or be unexported (golint)
    • flamed/pkg/conf/storaged.go
    • Line 12: warning: exported type StoragedConfigurationInput should have comment or be unexported (golint)
    • Line 38: warning: exported type StoragedConfiguration should have comment or be unexported (golint)
    • Line 44: warning: exported method StoragedConfiguration.AutoIndexMeta should have comment or be unexported (golint)
    • Line 50: warning: exported method StoragedConfiguration.AutoBuildIndex should have comment or be unexported (golint)
    • Line 56: warning: exported method StoragedConfiguration.IndexEnable should have comment or be unexported (golint)
    • Line 62: warning: exported method StoragedConfiguration.StorageTaskQueue should have comment or be unexported (golint)
    • Line 72: warning: exported method StoragedConfiguration.StateStoragePath should have comment or be unexported (golint)
    • Line 78: warning: exported method StoragedConfiguration.StateStorageSecretKey should have comment or be unexported (golint)
    • Line 84: warning: exported method StoragedConfiguration.IndexStoragePath should have comment or be unexported (golint)
    • Line 90: warning: exported method StoragedConfiguration.IndexStorageSecretKey should have comment or be unexported (golint)
    • Line 96: warning: exported method StoragedConfiguration.StoragePluginState should have comment or be unexported (golint)
    • Line 106: warning: exported method StoragedConfiguration.StoragePluginIndex should have comment or be unexported (golint)
    • Line 116: warning: exported method StoragedConfiguration.StateStorageCustomConfiguration should have comment or be unexported (golint)
    • Line 122: warning: exported method StoragedConfiguration.IndexStorageCustomConfiguration should have comment or be unexported (golint)
    • Line 128: warning: exported method StoragedConfiguration.CacheSize should have comment or be unexported (golint)
    • Line 137: warning: exported method StoragedConfiguration.BatchSize should have comment or be unexported (golint)
    • Line 146: warning: exported method StoragedConfiguration.QueueSize should have comment or be unexported (golint)
    • Line 155: warning: exported method StoragedConfiguration.GetTransactionProcessor should have comment or be unexported (golint)
    • Line 167: warning: exported method StoragedConfiguration.AddTransactionProcessor should have comment or be unexported (golint)
    • Line 173: warning: exported method StoragedConfiguration.IsTransactionProcessorExists should have comment or be unexported (golint)
    • Line 180: warning: exported method StoragedConfiguration.ProposalReceiver should have comment or be unexported (golint)
    • flamed/pkg/storage/storage.go
    • Line 22: warning: exported type Storage should have comment or be unexported (golint)
    • Line 41: warning: exported method Storage.SetConfiguration should have comment or be unexported (golint)
    • Line 84: warning: exported method Storage.Open should have comment or be unexported (golint)
    • Line 130: warning: exported method Storage.Close should have comment or be unexported (golint)
    • Line 169: warning: exported method Storage.RunGC should have comment or be unexported (golint)
    • Line 184: warning: exported method Storage.ChangeSecretKey should have comment or be unexported (golint)
    • Line 195: warning: exported method Storage.Create should have comment or be unexported (golint)
    • Line 237: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 246: warning: exported method Storage.Delete should have comment or be unexported (golint)
    • Line 273: warning: exported method Storage.SaveAppliedIndex should have comment or be unexported (golint)
    • Line 281: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 289: warning: exported method Storage.QueryAppliedIndex should have comment or be unexported (golint)
    • Line 310: warning: exported method Storage.GetAppliedIndex should have comment or be unexported (golint)
    • Line 314: warning: exported method Storage.Search should have comment or be unexported (golint)
    • Line 334: warning: exported method Storage.Iterate should have comment or be unexported (golint)
    • Line 356: warning: exported method Storage.Retrieve should have comment or be unexported (golint)
    • Line 378: warning: exported method Storage.GlobalSearch should have comment or be unexported (golint)
    • Line 386: warning: exported method Storage.GlobalIterate should have comment or be unexported (golint)
    • Line 447: warning: exported method Storage.GlobalRetrieve should have comment or be unexported (golint)
    • Line 486: warning: exported method Storage.ApplyProposal should have comment or be unexported (golint)
    • Line 537: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 571: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 582: warning: exported method Storage.UpsertIndexMeta should have comment or be unexported (golint)
    • Line 590: warning: exported method Storage.DeleteIndexMeta should have comment or be unexported (golint)
    • Line 598: warning: exported method Storage.CanIndex should have comment or be unexported (golint)
    • Line 606: warning: exported method Storage.IndexEnable should have comment or be unexported (golint)
    • Line 610: warning: exported method Storage.AutoIndexMeta should have comment or be unexported (golint)
    • Line 614: warning: exported method Storage.ApplyIndex should have comment or be unexported (golint)
    • Line 621: warning: exported method Storage.DefaultIndexMeta should have comment or be unexported (golint)
    • Line 629: warning: exported method Storage.CustomIndexRule should have comment or be unexported (golint)
    • Line 694: warning: exported method Storage.PrepareSnapshot should have comment or be unexported (golint)
    • Line 710: warning: exported method Storage.RecoverFromSnapshot should have comment or be unexported (golint)
    • Line 811: warning: exported method Storage.SaveSnapshot should have comment or be unexported (golint)
    • Line 873: warning: exported method Storage.BuildIndex should have comment or be unexported (golint)
    • Line 885: warning: exported method Storage.BuildIndexByNamespace should have comment or be unexported (golint)
    • flamed/pkg/tp/accesscontrol/accesscontrol.go
    • Line 16: warning: exported type AccessControl should have comment or be unexported (golint)
    • Line 19: warning: exported method AccessControl.FamilyName should have comment or be unexported (golint)
    • Line 23: warning: exported method AccessControl.FamilyVersion should have comment or be unexported (golint)
    • Line 27: warning: exported method AccessControl.IndexObject should have comment or be unexported (golint)
    • Line 31: warning: exported method AccessControl.Search should have comment or be unexported (golint)
    • Line 37: warning: exported method AccessControl.Iterate should have comment or be unexported (golint)
    • Line 43: warning: exported method AccessControl.Retrieve should have comment or be unexported (golint)
    • Line 98: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 121: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 129: warning: exported method AccessControl.Apply should have comment or be unexported (golint)
    • flamed/pkg/conf/cluster.go
    • Line 9: warning: exported type OnDiskClusterConfigurationInput should have comment or be unexported (golint)
    • Line 17: warning: exported type OnDiskClusterConfiguration should have comment or be unexported (golint)
    • Line 22: warning: exported method OnDiskClusterConfiguration.ClusterID should have comment or be unexported (golint)
    • Line 27: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 32: warning: exported method OnDiskClusterConfiguration.ClusterName should have comment or be unexported (golint)
    • Line 38: warning: exported method OnDiskClusterConfiguration.InitialMembers should have comment or be unexported (golint)
    • Line 48: warning: exported method OnDiskClusterConfiguration.Join should have comment or be unexported (golint)
    • Line 54: warning: exported method OnDiskClusterConfiguration.StateMachine should have comment or be unexported (golint)
    • flamed/pkg/variable/app.go
    • Line 10: warning: exported var Name should have comment or be unexported (golint)
    • Line 11: warning: exported var ShortDescription should have comment or be unexported (golint)
    • Line 12: warning: exported var LongDescription should have comment or be unexported (golint)
    • Line 14: warning: exported var DefaultPasswordHashAlgorithm should have comment or be unexported (golint)
    • Line 15: warning: exported var DefaultPasswordHashAlgorithmFactory should have comment or be unexported (golint)
    • Line 18: warning: exported var DefaultLogDbFactory should have comment or be unexported (golint)
    • Line 19: warning: exported var DefaultRaftRPCFactory should have comment or be unexported (golint)
    • Line 20: warning: exported var DefaultRaftEventListener should have comment or be unexported (golint)
    • Line 21: warning: exported var DefaultSystemEventListener should have comment or be unexported (golint)
    • flamed/pkg/app/graphql/kind/uint64.go
    • Line 9: warning: exported type UInt64 should have comment or be unexported (golint)
    • Line 13: warning: exported method UInt64.Value should have comment or be unexported (golint)
    • Line 17: warning: exported function NewUInt64FromString should have comment or be unexported (golint)
    • Line 25: warning: exported function NewUInt64FromInt should have comment or be unexported (golint)
    • Line 29: warning: exported function NewUInt64FromUInt64 should have comment or be unexported (golint)
    • Line 33: warning: exported var GQLUInt64Type should have comment or be unexported (golint)
    • flamed/pkg/constant/constant.go
    • Line 3: warning: exported const Separator should have comment or be unexported (golint)
    • Line 4: warning: exported const IndexMetaNamespace should have comment or be unexported (golint)
    • Line 5: warning: exported const UserNamespace should have comment or be unexported (golint)
    • Line 6: warning: exported const AccessControlNamespace should have comment or be unexported (golint)
    • Line 7: warning: exported const AppliedIndexNamespace should have comment or be unexported (golint)
    • Line 8: warning: exported const AppliedIndexKey should have comment or be unexported (golint)
    • flamed/pkg/storaged/storaged.go
    • Line 17: warning: exported type Storaged should have comment or be unexported (golint)
    • Line 29: warning: exported method Storaged.Setup should have comment or be unexported (golint)
    • Line 34: warning: exported method Storaged.SetStorage should have comment or be unexported (golint)
    • Line 40: warning: exported method Storaged.SetConfiguration should have comment or be unexported (golint)
    • Line 71: warning: exported method Storaged.Open should have comment or be unexported (golint)
    • Line 87: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 94: warning: exported method Storaged.Sync should have comment or be unexported (golint)
    • Line 98: warning: exported method Storaged.Close should have comment or be unexported (golint)
    • Line 114: warning: exported method Storaged.Update should have comment or be unexported (golint)
    • Line 157: warning: exported method Storaged.Lookup should have comment or be unexported (golint)
    • Line 198: warning: exported method Storaged.PrepareSnapshot should have comment or be unexported (golint)
    • Line 208: warning: exported method Storaged.SaveSnapshot should have comment or be unexported (golint)
    • Line 217: warning: exported method Storaged.RecoverFromSnapshot should have comment or be unexported (golint)
    • Line 243: warning: exported function NewStoraged should have comment or be unexported (golint)
    • flamed/pkg/variant/task.go
    • Line 3: warning: exported type Task should have comment or be unexported (golint)
    • Line 10: warning: exported type TaskQueue should have comment or be unexported (golint)
    • flamed/pkg/tp/json/json.go
    • Line 16: warning: exported type JSON should have comment or be unexported (golint)
    • Line 19: warning: exported method JSON.FamilyName should have comment or be unexported (golint)
    • Line 23: warning: exported method JSON.FamilyVersion should have comment or be unexported (golint)
    • Line 27: warning: exported method JSON.IndexObject should have comment or be unexported (golint)
    • Line 49: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 63: warning: exported method JSON.Search should have comment or be unexported (golint)
    • Line 69: warning: exported method JSON.Iterate should have comment or be unexported (golint)
    • Line 75: warning: exported method JSON.Retrieve should have comment or be unexported (golint)
    • Line 100: warning: exported method JSON.Apply should have comment or be unexported (golint)
    • Line 143: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 273: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 313: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 344: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • flamed/pkg/constant/app.go
    • Line 3: warning: exported const LogLevel should have comment or be unexported (golint)
    • Line 4: warning: exported const LogLevelFlag should have comment or be unexported (golint)
    • Line 5: warning: exported const GlobalRequestTimeout should have comment or be unexported (golint)
    • Line 6: warning: exported const GlobalRequestTimeoutFlag should have comment or be unexported (golint)
    • Line 7: warning: exported const StoragePath should have comment or be unexported (golint)
    • Line 8: warning: exported const StoragePathFlag should have comment or be unexported (golint)
    • Line 9: warning: exported const RaftAddress should have comment or be unexported (golint)
    • Line 10: warning: exported const RaftAddressFlag should have comment or be unexported (golint)
    • Line 11: warning: exported const Join should have comment or be unexported (golint)
    • Line 12: warning: exported const JoinFlag should have comment or be unexported (golint)
    • Line 14: warning: exported const InitialMembers should have comment or be unexported (golint)
    • Line 15: warning: exported const InitialMembersFlag should have comment or be unexported (golint)
    • Line 17: warning: exported const EnableHTTPServer should have comment or be unexported (golint)
    • Line 18: warning: exported const EnableHTTPServerFlag should have comment or be unexported (golint)
    • Line 19: warning: exported const HTTPServerTLS should have comment or be unexported (golint)
    • Line 20: warning: exported const HTTPServerTLSFlag should have comment or be unexported (golint)
    • Line 21: warning: exported const HTTPServerAddress should have comment or be unexported (golint)
    • Line 22: warning: exported const HTTPServerAddressFlag should have comment or be unexported (golint)
    • Line 23: warning: exported const HTTPServerCertFile should have comment or be unexported (golint)
    • Line 24: warning: exported const HTTPServerCertFileFlag should have comment or be unexported (golint)
    • Line 25: warning: exported const HTTPServerKeyFile should have comment or be unexported (golint)
    • Line 26: warning: exported const HTTPServerKeyFileFlag should have comment or be unexported (golint)
    • Line 28: warning: exported const DeploymentID should have comment or be unexported (golint)
    • Line 29: warning: exported const DeploymentIDFlag should have comment or be unexported (golint)
    • Line 30: warning: exported const RTTMillisecond should have comment or be unexported (golint)
    • Line 31: warning: exported const RTTMillisecondFlag should have comment or be unexported (golint)
    • Line 32: warning: exported const MutualTLS should have comment or be unexported (golint)
    • Line 33: warning: exported const MutualTLSFlag should have comment or be unexported (golint)
    • Line 34: warning: exported const CAFile should have comment or be unexported (golint)
    • Line 35: warning: exported const CAFileFlag should have comment or be unexported (golint)
    • Line 36: warning: exported const CertFile should have comment or be unexported (golint)
    • Line 37: warning: exported const CertFileFlag should have comment or be unexported (golint)
    • Line 38: warning: exported const KeyFile should have comment or be unexported (golint)
    • Line 39: warning: exported const KeyFileFlag should have comment or be unexported (golint)
    • Line 40: warning: exported const MaxSendQueueSize should have comment or be unexported (golint)
    • Line 41: warning: exported const MaxSendQueueSizeFlag should have comment or be unexported (golint)
    • Line 42: warning: exported const MaxReceiveQueueSize should have comment or be unexported (golint)
    • Line 43: warning: exported const MaxReceiveQueueSizeFlag should have comment or be unexported (golint)
    • Line 44: warning: exported const EnableMetrics should have comment or be unexported (golint)
    • Line 45: warning: exported const EnableMetricsFlag should have comment or be unexported (golint)
    • Line 46: warning: exported const MaxSnapshotSendBytesPerSecond should have comment or be unexported (golint)
    • Line 47: warning: exported const MaxSnapshotSendBytesPerSecondFlag should have comment or be unexported (golint)
    • Line 48: warning: exported const MaxSnapshotRecvBytesPerSecond should have comment or be unexported (golint)
    • Line 49: warning: exported const MaxSnapshotRecvBytesPerSecondFlag should have comment or be unexported (golint)
    • Line 50: warning: exported const NotifyCommit should have comment or be unexported (golint)
    • Line 51: warning: exported const NotifyCommitFlag should have comment or be unexported (golint)
    • Line 52: warning: exported const LogDBConfig should have comment or be unexported (golint)
    • Line 53: warning: exported const LogDBConfigFlag should have comment or be unexported (golint)
    • Line 54: warning: exported const SystemTickerPrecision should have comment or be unexported (golint)
    • Line 55: warning: exported const SystemTickerPrecisionFlag should have comment or be unexported (golint)
    • Line 57: warning: exported const NodeID should have comment or be unexported (golint)
    • Line 58: warning: exported const NodeIDFlag should have comment or be unexported (golint)
    • Line 59: warning: exported const CheckQuorum should have comment or be unexported (golint)
    • Line 60: warning: exported const CheckQuorumFlag should have comment or be unexported (golint)
    • Line 61: warning: exported const ElectionRTT should have comment or be unexported (golint)
    • Line 62: warning: exported const ElectionRTTFlag should have comment or be unexported (golint)
    • Line 63: warning: exported const HeartbeatRTT should have comment or be unexported (golint)
    • Line 64: warning: exported const HeartbeatRTTFlag should have comment or be unexported (golint)
    • Line 65: warning: exported const SnapshotEntries should have comment or be unexported (golint)
    • Line 66: warning: exported const SnapshotEntriesFlag should have comment or be unexported (golint)
    • Line 67: warning: exported const CompactionOverhead should have comment or be unexported (golint)
    • Line 68: warning: exported const CompactionOverheadFlag should have comment or be unexported (golint)
    • Line 69: warning: exported const OrderedConfigChange should have comment or be unexported (golint)
    • Line 70: warning: exported const OrderedConfigChangeFlag should have comment or be unexported (golint)
    • Line 71: warning: exported const MaxInMemLogSize should have comment or be unexported (golint)
    • Line 72: warning: exported const MaxInMemLogSizeFlag should have comment or be unexported (golint)
    • Line 73: warning: exported const DisableAutoCompactions should have comment or be unexported (golint)
    • Line 74: warning: exported const DisableAutoCompactionsFlag should have comment or be unexported (golint)
    • Line 75: warning: exported const IsObserver should have comment or be unexported (golint)
    • Line 76: warning: exported const IsObserverFlag should have comment or be unexported (golint)
    • Line 77: warning: exported const IsWitness should have comment or be unexported (golint)
    • Line 78: warning: exported const IsWitnessFlag should have comment or be unexported (golint)
    • Line 79: warning: exported const Quiesce should have comment or be unexported (golint)
    • Line 80: warning: exported const QuiesceFlag should have comment or be unexported (golint)
    • Line 82: warning: exported const CORSAllowAllOrigins should have comment or be unexported (golint)
    • Line 83: warning: exported const CORSAllowAllOriginsFlag should have comment or be unexported (golint)
    • Line 84: warning: exported const CORSAllowOrigins should have comment or be unexported (golint)
    • Line 85: warning: exported const CORSAllowOriginsFlag should have comment or be unexported (golint)
    • Line 86: warning: exported const CORSAllowCredentials should have comment or be unexported (golint)
    • Line 87: warning: exported const CORSAllowCredentialsFlag should have comment or be unexported (golint)
    • Line 88: warning: exported const CORSAllowMethods should have comment or be unexported (golint)
    • Line 89: warning: exported const CORSAllowMethodsFlag should have comment or be unexported (golint)
    • Line 90: warning: exported const CORSAllowHeaders should have comment or be unexported (golint)
    • Line 91: warning: exported const CORSAllowHeadersFlag should have comment or be unexported (golint)
    • Line 92: warning: exported const CORSExposeHeaders should have comment or be unexported (golint)
    • Line 93: warning: exported const CORSExposeHeadersFlag should have comment or be unexported (golint)
    • Line 94: warning: exported const CORSMaxAge should have comment or be unexported (golint)
    • Line 95: warning: exported const CORSMaxAgeFlag should have comment or be unexported (golint)
    • Line 97: warning: exported const EnableGraphQLOverHTTP should have comment or be unexported (golint)
    • Line 98: warning: exported const EnableGraphQLOverHTTPFlag should have comment or be unexported (golint)
    • Line 99: warning: exported const EnableGraphQLOverGRPC should have comment or be unexported (golint)
    • Line 100: warning: exported const EnableGraphQLOverGRPCFlag should have comment or be unexported (golint)
    • Line 102: warning: exported const EnableGRPCServer should have comment or be unexported (golint)
    • Line 103: warning: exported const EnableGRPCServerFlag should have comment or be unexported (golint)
    • Line 104: warning: exported const GRPCServerTLS should have comment or be unexported (golint)
    • Line 105: warning: exported const GRPCServerTLSFlag should have comment or be unexported (golint)
    • Line 106: warning: exported const GRPCServerAddress should have comment or be unexported (golint)
    • Line 107: warning: exported const GRPCServerAddressFlag should have comment or be unexported (golint)
    • Line 108: warning: exported const GRPCServerCertFile should have comment or be unexported (golint)
    • Line 109: warning: exported const GRPCServerCertFileFlag should have comment or be unexported (golint)
    • Line 110: warning: exported const GRPCServerKeyFile should have comment or be unexported (golint)
    • Line 111: warning: exported const GRPCServerKeyFileFlag should have comment or be unexported (golint)
    • flamed/pkg/app/grpc/service/graphql/service.go
    • Line 16: warning: exported type Service should have comment or be unexported (golint)
    • Line 23: warning: exported method Service.RegisterGRPCService should have comment or be unexported (golint)
    • Line 27: warning: exported method Service.GetGraphQLResponse should have comment or be unexported (golint)
    • Line 60: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 74: warning: exported function NewGraphQLService should have comment or be unexported (golint)
    • flamed/pkg/conf/node.go
    • Line 10: warning: exported type NodeConfigurationInput should have comment or be unexported (golint)
    • Line 42: warning: exported type NodeConfiguration should have comment or be unexported (golint)
    • Line 47: warning: comment on exported method NodeConfiguration.NodeHostDir should be of the form "NodeHostDir ..." (golint)
    • Line 54: warning: exported method NodeConfiguration.WALDir should have comment or be unexported (golint)
    • Line 60: warning: exported method NodeConfiguration.DeploymentID should have comment or be unexported (golint)
    • Line 66: warning: comment on exported method NodeConfiguration.RTTMillisecond should be of the form "RTTMillisecond ..." (golint)
    • Line 74: warning: exported method NodeConfiguration.RaftAddress should have comment or be unexported (golint)
    • Line 80: warning: exported method NodeConfiguration.ListenAddress should have comment or be unexported (golint)
    • Line 86: warning: exported method NodeConfiguration.MutualTLS should have comment or be unexported (golint)
    • Line 92: warning: exported method NodeConfiguration.CAFile should have comment or be unexported (golint)
    • Line 98: warning: exported method NodeConfiguration.CertFile should have comment or be unexported (golint)
    • Line 104: warning: exported method NodeConfiguration.KeyFile should have comment or be unexported (golint)
    • Line 110: warning: exported method NodeConfiguration.MaxSendQueueSize should have comment or be unexported (golint)
    • Line 116: warning: exported method NodeConfiguration.MaxReceiveQueueSize should have comment or be unexported (golint)
    • Line 122: warning: exported method NodeConfiguration.LogDBFactory should have comment or be unexported (golint)
    • Line 128: warning: exported method NodeConfiguration.RaftRPCFactory should have comment or be unexported (golint)
    • Line 134: warning: exported method NodeConfiguration.EnableMetrics should have comment or be unexported (golint)
    • Line 140: warning: exported method NodeConfiguration.MaxSnapshotSendBytesPerSecond should have comment or be unexported (golint)
    • Line 146: warning: exported method NodeConfiguration.MaxSnapshotRecvBytesPerSecond should have comment or be unexported (golint)
    • Line 152: warning: exported method NodeConfiguration.RaftEventListener should have comment or be unexported (golint)
    • Line 158: warning: exported method NodeConfiguration.SystemEventListener should have comment or be unexported (golint)
    • Line 164: warning: exported method NodeConfiguration.SystemTickerPrecision should have comment or be unexported (golint)
    • Line 170: warning: exported method NodeConfiguration.NotifyCommit should have comment or be unexported (golint)
    • Line 176: warning: exported method NodeConfiguration.LogDB should have comment or be unexported (golint)
    • flamed/pkg/app/graphql/kind/searchresponse.go
    • Line 9: warning: exported var GQLTerm should have comment or be unexported (golint)
    • Line 39: warning: exported var GQLDateRangeFacet should have comment or be unexported (golint)
    • Line 91: warning: exported var GQLNumericRangeFacet should have comment or be unexported (golint)
    • Line 143: warning: exported var GQLDocument should have comment or be unexported (golint)
    • Line 189: warning: exported var GQLFacet should have comment or be unexported (golint)
    • Line 283: warning: exported var GQLSearchResponse should have comment or be unexported (golint)
    • flamed/pkg/iface/passhashalgo.go
    • Line 3: warning: exported type IPasswordHashAlgorithm should have comment or be unexported (golint)
    • Line 10: warning: exported type IPasswordHashAlgorithmFactory should have comment or be unexported (golint)
    • flamed/pkg/iface/readerwriter.go
    • Line 9: warning: exported type IReader should have comment or be unexported (golint)
    • Line 15: warning: exported type IWriter should have comment or be unexported (golint)
    • Line 21: warning: exported type IReaderWriter should have comment or be unexported (golint)
    • flamed/pkg/variable/hook.go
    • Line 3: warning: exported var DefaultRunServerCMDPreHOOK should have comment or be unexported (golint)
    • Line 4: warning: exported var DefaultRunServerCMDPostHOOK should have comment or be unexported (golint)
    • Line 5: warning: exported var DefaultInitCommandPreHOOK should have comment or be unexported (golint)
    • Line 6: warning: exported var DefaultInitCommandPostHOOK should have comment or be unexported (golint)
    • Line 8: warning: exported var DefaultInitBeforeCommandExecutionPreHOOK should have comment or be unexported (golint)
    • Line 9: warning: exported var DefaultInitBeforeCommandExecutionPostHOOK should have comment or be unexported (golint)
    • flamed/pkg/tp/intkey/client.go
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 21: warning: exported method Client.UpdateTimeout should have comment or be unexported (golint)
    • Line 25: warning: exported method Client.GetIntKeyState should have comment or be unexported (golint)
    • Line 42: warning: exported method Client.GetIntKeyStateList should have comment or be unexported (golint)
    • Line 87: warning: exported method Client.GetIntKeyListLookupRequest should have comment or be unexported (golint)
    • Line 104: warning: exported method Client.GetIntKeyLookupRequest should have comment or be unexported (golint)
    • Line 115: warning: exported method Client.GetInsertTransaction should have comment or be unexported (golint)
    • Line 119: warning: exported method Client.GetUpsertTransaction should have comment or be unexported (golint)
    • Line 123: warning: exported method Client.GetDeleteTransaction should have comment or be unexported (golint)
    • Line 127: warning: exported method Client.GetIncrementTransaction should have comment or be unexported (golint)
    • Line 131: warning: exported method Client.GetDecrementTransaction should have comment or be unexported (golint)
    • Line 135: warning: exported method Client.Insert should have comment or be unexported (golint)
    • Line 145: warning: exported method Client.Upsert should have comment or be unexported (golint)
    • Line 155: warning: exported method Client.Delete should have comment or be unexported (golint)
    • Line 164: warning: exported method Client.Increment should have comment or be unexported (golint)
    • Line 174: warning: exported method Client.Decrement should have comment or be unexported (golint)
    • Line 184: warning: exported method Client.Setup should have comment or be unexported (golint)
    • flamed/pkg/utility/validator.go
    • Line 8: warning: exported function IsNamespaceValid should have comment or be unexported (golint)
    • Line 24: warning: exported function IsUsernameValid should have comment or be unexported (golint)
    • Line 31: warning: exported function IsPasswordValid should have comment or be unexported (golint)
    • flamed/pkg/flamed/node.go
    • Line 19: warning: exported type Node should have comment or be unexported (golint)
    • Line 51: warning: exported method Node.ConfigureNode should have comment or be unexported (golint)
    • Line 99: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 110: warning: exported method Node.StartOnDiskCluster should have comment or be unexported (golint)
    • Line 160: warning: exported method Node.StopCluster should have comment or be unexported (golint)
    • Line 178: warning: exported method Node.StopNode should have comment or be unexported (golint)
    • Line 197: warning: exported method Node.TotalCluster should have comment or be unexported (golint)
    • Line 204: warning: exported method Node.IsClusterIDAvailable should have comment or be unexported (golint)
    • Line 211: warning: exported method Node.ClusterIDList should have comment or be unexported (golint)
    • Line 223: warning: exported method Node.NodeHostConfig should have comment or be unexported (golint)
    • Line 227: warning: exported method Node.RaftAddress should have comment or be unexported (golint)
    • Line 231: warning: exported method Node.GetNodeHostInfo should have comment or be unexported (golint)
    • Line 235: warning: exported method Node.NewNodeAdmin should have comment or be unexported (golint)
    • flamed/pkg/conf/raft.go
    • Line 5: warning: exported type RaftConfigurationInput should have comment or be unexported (golint)
    • Line 23: warning: exported type RaftConfiguration should have comment or be unexported (golint)
    • Line 28: warning: exported method RaftConfiguration.NodeID should have comment or be unexported (golint)
    • Line 34: warning: exported method RaftConfiguration.CheckQuorum should have comment or be unexported (golint)
    • Line 40: warning: exported method RaftConfiguration.ElectionRTT should have comment or be unexported (golint)
    • Line 46: warning: exported method RaftConfiguration.HeartbeatRTT should have comment or be unexported (golint)
    • Line 52: warning: exported method RaftConfiguration.SnapshotEntries should have comment or be unexported (golint)
    • Line 58: warning: exported method RaftConfiguration.CompactionOverhead should have comment or be unexported (golint)
    • Line 64: warning: exported method RaftConfiguration.OrderedConfigChange should have comment or be unexported (golint)
    • Line 70: warning: exported method RaftConfiguration.MaxInMemLogSize should have comment or be unexported (golint)
    • Line 76: warning: exported method RaftConfiguration.DisableAutoCompactions should have comment or be unexported (golint)
    • Line 82: warning: exported method RaftConfiguration.IsObserver should have comment or be unexported (golint)
    • Line 88: warning: exported method RaftConfiguration.IsWitness should have comment or be unexported (golint)
    • Line 94: warning: exported method RaftConfiguration.Quiesce should have comment or be unexported (golint)
    • flamed/pkg/storage/variant.go
    • Line 5: warning: exported type IndexDataContainer should have comment or be unexported (golint)
    • Line 6: warning: exported type IndexMetaActionContainer should have comment or be unexported (golint)
    • flamed/pkg/utility/jsonmarshaller.go
    • Line 11: warning: exported type LowerCamelCaseMarshaller should have comment or be unexported (golint)
    • Line 15: warning: exported method LowerCamelCaseMarshaller.MarshalJSON should have comment or be unexported (golint)
    • Line 34: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 46: warning: exported type LowerSnakeCaseMarshaller should have comment or be unexported (golint)
    • Line 50: warning: exported method LowerSnakeCaseMarshaller.MarshalJSON should have comment or be unexported (golint)
    • flamed/pkg/app/graphql/graphql.go
    • Line 8: warning: exported type GQLHandler should have comment or be unexported (golint)
    • Line 10: warning: exported type GraphQL should have comment or be unexported (golint)
    • Line 21: warning: exported method GraphQL.AddQueryField should have comment or be unexported (golint)
    • Line 25: warning: exported method GraphQL.AddMutationField should have comment or be unexported (golint)
    • Line 29: warning: exported method GraphQL.AddSubscriptionField should have comment or be unexported (golint)
    • Line 33: warning: exported method GraphQL.IsSchemaAvailable should have comment or be unexported (golint)
    • Line 37: warning: exported method GraphQL.GetSchema should have comment or be unexported (golint)
    • Line 41: warning: exported method GraphQL.BuildSchema should have comment or be unexported (golint)
    • Line 87: warning: exported function NewGraphQL should have comment or be unexported (golint)
    • flamed/pkg/storage/statecontext.go
    • Line 10: warning: exported type StateContext should have comment or be unexported (golint)
    • Line 18: warning: exported method StateContext.GetForwardIterator should have comment or be unexported (golint)
    • Line 22: warning: exported method StateContext.GetReverseIterator should have comment or be unexported (golint)
    • Line 26: warning: exported method StateContext.GetKeyOnlyForwardIterator should have comment or be unexported (golint)
    • Line 30: warning: exported method StateContext.GetKeyOnlyReverseIterator should have comment or be unexported (golint)
    • Line 34: warning: exported method StateContext.GetState should have comment or be unexported (golint)
    • Line 39: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 47: warning: exported method StateContext.UpsertState should have comment or be unexported (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 59: warning: exported method StateContext.DeleteState should have comment or be unexported (golint)
    • Line 67: warning: exported method StateContext.UpsertIndex should have comment or be unexported (golint)
    • Line 84: warning: exported method StateContext.DeleteIndex should have comment or be unexported (golint)
    • Line 112: warning: exported method StateContext.UpsertIndexMeta should have comment or be unexported (golint)
    • Line 129: warning: exported method StateContext.DeleteIndexMeta should have comment or be unexported (golint)
    • Line 146: warning: exported method StateContext.DefaultIndexMeta should have comment or be unexported (golint)
    • flamed/pkg/pb/proposal.go
    • Line 8: warning: exported function NewProposal should have comment or be unexported (golint)
    • Line 18: warning: exported method Proposal.AddTransactionObject should have comment or be unexported (golint)
    • Line 26: warning: exported method Proposal.AddTransaction should have comment or be unexported (golint)
    • flamed/pkg/iface/storaged.go
    • Line 8: warning: exported type IStoragedConfiguration should have comment or be unexported (golint)
    • Line 12: warning: exported type IStoraged should have comment or be unexported (golint)
    • flamed/pkg/iface/searchresponse.go
    • Line 5: warning: exported type ITerm should have comment or be unexported (golint)
    • Line 10: warning: exported type IDateRangeFacet should have comment or be unexported (golint)
    • Line 17: warning: exported type INumericRangeFacet should have comment or be unexported (golint)
    • Line 24: warning: exported type IFacet should have comment or be unexported (golint)
    • Line 35: warning: exported type IDocument should have comment or be unexported (golint)
    • Line 41: warning: exported type ISearchResponse should have comment or be unexported (golint)
    • flamed/pkg/plugin/storage/index/blevescorch/searchresult.go
    • Line 12: warning: exported type BleveDateRangeFacet should have comment or be unexported (golint)
    • Line 16: warning: exported method BleveDateRangeFacet.Name should have comment or be unexported (golint)
    • Line 20: warning: exported method BleveDateRangeFacet.Start should have comment or be unexported (golint)
    • Line 25: warning: exported method BleveDateRangeFacet.End should have comment or be unexported (golint)
    • Line 30: warning: exported method BleveDateRangeFacet.Count should have comment or be unexported (golint)
    • Line 34: warning: exported type BleveNumericRangeFacet should have comment or be unexported (golint)
    • Line 38: warning: exported method BleveNumericRangeFacet.Name should have comment or be unexported (golint)
    • Line 42: warning: exported method BleveNumericRangeFacet.Min should have comment or be unexported (golint)
    • Line 46: warning: exported method BleveNumericRangeFacet.Max should have comment or be unexported (golint)
    • Line 50: warning: exported method BleveNumericRangeFacet.Count should have comment or be unexported (golint)
    • Line 54: warning: exported type BleveTerm should have comment or be unexported (golint)
    • Line 58: warning: exported method BleveTerm.Term should have comment or be unexported (golint)
    • Line 62: warning: exported method BleveTerm.Count should have comment or be unexported (golint)
    • Line 66: warning: exported type BleveFacet should have comment or be unexported (golint)
    • Line 71: warning: exported method BleveFacet.Name should have comment or be unexported (golint)
    • Line 75: warning: exported method BleveFacet.Field should have comment or be unexported (golint)
    • Line 79: warning: exported method BleveFacet.Total should have comment or be unexported (golint)
    • Line 83: warning: exported method BleveFacet.Missing should have comment or be unexported (golint)
    • Line 87: warning: exported method BleveFacet.Other should have comment or be unexported (golint)
    • Line 91: warning: exported method BleveFacet.Terms should have comment or be unexported (golint)
    • Line 104: warning: exported method BleveFacet.NumericRanges should have comment or be unexported (golint)
    • Line 117: warning: exported method BleveFacet.DateRanges should have comment or be unexported (golint)
    • Line 130: warning: exported type BleveSearchDocument should have comment or be unexported (golint)
    • Line 134: warning: exported method BleveSearchDocument.ID should have comment or be unexported (golint)
    • Line 138: warning: exported method BleveSearchDocument.Score should have comment or be unexported (golint)
    • Line 142: warning: exported method BleveSearchDocument.Index should have comment or be unexported (golint)
    • Line 146: warning: exported type BleveSearchResponse should have comment or be unexported (golint)
    • Line 150: warning: exported method BleveSearchResponse.Total should have comment or be unexported (golint)
    • Line 154: warning: exported method BleveSearchResponse.MaxScore should have comment or be unexported (golint)
    • Line 158: warning: exported method BleveSearchResponse.Took should have comment or be unexported (golint)
    • Line 162: warning: exported method BleveSearchResponse.Hits should have comment or be unexported (golint)
    • Line 170: warning: exported method BleveSearchResponse.Facets should have comment or be unexported (golint)
    • Line 182: warning: exported type BleveSearchResult should have comment or be unexported (golint)
    • Line 186: warning: exported method BleveSearchResult.RawResult should have comment or be unexported (golint)
    • Line 190: warning: exported method BleveSearchResult.ToMap should have comment or be unexported (golint)
    • Line 202: warning: exported method BleveSearchResult.ToBytes should have comment or be unexported (golint)
    • Line 214: warning: exported method BleveSearchResult.ToSearchResponse should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!