Preparing report...

Report for github.com/plgd-dev/cloud

A+    Excellent!    Found 275 issues across 550 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!


golint50%

Golint is a linter for Go source code.

    • cloud/cloud2cloud-connector/service/pull.go
    • Line 24: warning: exported type Device should have comment or be unexported (golint)
    • Line 29: warning: exported type RetrieveDeviceWithLinksResponse should have comment or be unexported (golint)
    • Line 72: warning: exported function Get should have comment or be unexported (golint)
    • Line 254: warning: exported type Representation should have comment or be unexported (golint)
    • Line 259: warning: exported type RetrieveDeviceContentAllResponse should have comment or be unexported (golint)
    • Line 316: warning: exported function RefreshToken should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/store/mongodb/linkedAccounts.go
    • Line 30: warning: exported method Store.InsertLinkedAccount should have comment or be unexported (golint)
    • Line 44: warning: exported method Store.UpdateLinkedAccount should have comment or be unexported (golint)
    • Line 53: 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 61: warning: exported method Store.RemoveLinkedAccount should have comment or be unexported (golint)
    • Line 75: warning: exported method Store.LoadLinkedAccounts should have comment or be unexported (golint)
    • cloud/certificate-authority/service/caApi.go
    • Line 17: warning: exported type CertificateSigner should have comment or be unexported (golint)
    • Line 31: warning: exported function AddHandler should have comment or be unexported (golint)
    • Line 45: warning: exported function NewRequestHandlerFromConfig should have comment or be unexported (golint)
    • cloud/pkg/net/http/client/client.go
    • Line 11: warning: comment on exported type Client should be of the form "Client ..." (with optional leading article) (golint)
    • Line 17: warning: exported method Client.HTTP should have comment or be unexported (golint)
    • Line 21: warning: exported method Client.AddCloseFunc should have comment or be unexported (golint)
    • Line 25: warning: exported method Client.Close should have comment or be unexported (golint)
    • Line 25: warning: receiver name s should be consistent with previous receiver name c for Client (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • cloud/http-gateway/test/test.go
    • Line 24: warning: exported const TestTimeout should have comment or be unexported (golint)
    • Line 26: warning: exported function MakeConfig should have comment or be unexported (golint)
    • Line 44: warning: exported function SetUp should have comment or be unexported (golint)
    • Line 48: warning: exported function New should have comment or be unexported (golint)
    • Line 68: warning: exported function NewRequest should have comment or be unexported (golint)
    • Line 205: warning: exported function HTTPDo should have comment or be unexported (golint)
    • Line 219: warning: exported type SortLinksByHref should have comment or be unexported (golint)
    • Line 229: warning: exported function SortLinks should have comment or be unexported (golint)
    • Line 235: warning: exported function CleanUpDeviceRepresentation should have comment or be unexported (golint)
    • cloud/grpc-gateway/client/resourceSubscription.go
    • Line 15: warning: exported type CloseErrorHandler should have comment or be unexported (golint)
    • Line 20: warning: exported method CloseErrorHandler.OnClose should have comment or be unexported (golint)
    • Line 28: warning: exported function NewCloseErrorHandler should have comment or be unexported (golint)
    • Line 189: warning: exported function ToResourceSubscription should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/store/mongodb/linkeClouds.go
    • Line 36: warning: exported method Store.UpdateLinkedCloud should have comment or be unexported (golint)
    • Line 53: warning: exported method Store.InsertLinkedCloud should have comment or be unexported (golint)
    • Line 67: warning: exported method Store.RemoveLinkedCloud should have comment or be unexported (golint)
    • Line 82: warning: exported method Store.LoadLinkedClouds should have comment or be unexported (golint)
    • cloud/coap-gateway/coapconv/coapconv.go
    • Line 22: warning: exported const OCFCreateInterface should have comment or be unexported (golint)
    • Line 24: warning: exported function StatusToCoapCode should have comment or be unexported (golint)
    • Line 57: warning: exported function CoapCodeToStatus should have comment or be unexported (golint)
    • Line 84: warning: exported function MakeMediaType should have comment or be unexported (golint)
    • Line 102: warning: exported function NewCoapResourceUpdateRequest should have comment or be unexported (golint)
    • Line 122: warning: exported function NewCoapResourceRetrieveRequest should have comment or be unexported (golint)
    • Line 134: warning: exported function NewCoapResourceDeleteRequest should have comment or be unexported (golint)
    • Line 143: warning: exported function NewContent should have comment or be unexported (golint)
    • Line 162: warning: exported function NewCommandMetadata should have comment or be unexported (golint)
    • Line 169: warning: exported function NewConfirmResourceRetrieveRequest should have comment or be unexported (golint)
    • Line 182: warning: exported function NewConfirmResourceUpdateRequest should have comment or be unexported (golint)
    • Line 195: warning: exported function NewDeleteResourceRequest should have comment or be unexported (golint)
    • Line 208: warning: exported function NewConfirmResourceDeleteRequest should have comment or be unexported (golint)
    • Line 221: warning: exported function NewNotifyResourceChangedRequest should have comment or be unexported (golint)
    • Line 233: warning: exported function NewUpdateResourceRequest should have comment or be unexported (golint)
    • Line 264: warning: exported function NewRetrieveResourceRequest should have comment or be unexported (golint)
    • Line 288: warning: exported function NewCreateResourceRequest should have comment or be unexported (golint)
    • Line 305: warning: exported function NewConfirmResourceCreateRequest should have comment or be unexported (golint)
    • Line 318: warning: exported function NewCoapResourceCreateRequest should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/service/resourceSubscription.go
    • Line 16: warning: exported method SubscriptionManager.SubscribeToResource should have comment or be unexported (golint)
    • Line 86: warning: exported method SubscriptionManager.HandleResourceChangedEvent should have comment or be unexported (golint)
    • Line 117: warning: exported method SubscriptionManager.HandleResourceEvent should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/eventstore/test/eventstore.go
    • Line 11: warning: exported type MockEventStore should have comment or be unexported (golint)
    • Line 15: warning: exported method MockEventStore.GetEvents should have comment or be unexported (golint)
    • Line 19: warning: exported method MockEventStore.Save should have comment or be unexported (golint)
    • Line 23: warning: exported method MockEventStore.LoadFromVersion should have comment or be unexported (golint)
    • Line 64: warning: exported method MockEventStore.LoadFromSnapshot should have comment or be unexported (golint)
    • Line 140: warning: exported method MockEventStore.GetInstanceId should have comment or be unexported (golint)
    • Line 143: warning: exported method MockEventStore.RemoveInstanceId should have comment or be unexported (golint)
    • Line 147: warning: exported function NewMockEventStore should have comment or be unexported (golint)
    • Line 151: warning: exported method MockEventStore.Append should have comment or be unexported (golint)
    • Line 151: warning: receiver name e should be consistent with previous receiver name s for MockEventStore (golint)
    • cloud/grpc-gateway/service/config.go
    • Line 13: warning: exported type Config should have comment or be unexported (golint)
    • Line 19: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 31: warning: comment on exported type APIsConfig should be of the form "APIsConfig ..." (with optional leading article) (golint)
    • Line 36: warning: exported method APIsConfig.Validate should have comment or be unexported (golint)
    • Line 44: warning: exported type AuthorizationServerConfig should have comment or be unexported (golint)
    • Line 48: warning: exported method AuthorizationServerConfig.Validate should have comment or be unexported (golint)
    • Line 56: warning: exported type ClientsConfig should have comment or be unexported (golint)
    • Line 63: warning: exported type EventBusConfig should have comment or be unexported (golint)
    • Line 68: warning: exported method EventBusConfig.Validate should have comment or be unexported (golint)
    • Line 76: warning: exported method ClientsConfig.Validate should have comment or be unexported (golint)
    • Line 96: warning: exported type GrpcServerConfig should have comment or be unexported (golint)
    • Line 100: warning: exported method GrpcServerConfig.Validate should have comment or be unexported (golint)
    • cloud/pkg/security/jwt/jwk.go
    • Line 15: warning: exported type KeyCache should have comment or be unexported (golint)
    • Line 22: warning: exported function NewKeyCacheWithHttp should have comment or be unexported (golint)
    • Line 26: warning: exported function NewKeyCache should have comment or be unexported (golint)
    • Line 41: warning: exported method KeyCache.GetOrFetchKeyWithContext should have comment or be unexported (golint)
    • Line 51: warning: exported method KeyCache.GetOrFetchKey should have comment or be unexported (golint)
    • Line 61: warning: exported method KeyCache.GetKey should have comment or be unexported (golint)
    • Line 70: warning: exported method KeyCache.LookupKey should have comment or be unexported (golint)
    • Line 90: warning: exported method KeyCache.FetchKeys should have comment or be unexported (golint)
    • Line 97: warning: exported method KeyCache.FetchKeysWithContext should have comment or be unexported (golint)
    • cloud/resource-aggregate/test/service.go
    • Line 15: warning: exported function MakeConfig should have comment or be unexported (golint)
    • Line 38: warning: exported function SetUp should have comment or be unexported (golint)
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/deviceMetadataUpdatePending.go
    • Line 13: warning: exported method DeviceMetadataUpdatePending.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method DeviceMetadataUpdatePending.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method DeviceMetadataUpdatePending.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method DeviceMetadataUpdatePending.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method DeviceMetadataUpdatePending.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method DeviceMetadataUpdatePending.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method DeviceMetadataUpdatePending.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method DeviceMetadataUpdatePending.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method DeviceMetadataUpdatePending.CopyData should have comment or be unexported (golint)
    • Line 52: warning: exported method DeviceMetadataUpdatePending.CheckInitialized should have comment or be unexported (golint)
    • Line 59: warning: exported method DeviceMetadataUpdatePending.ValidUntilTime should have comment or be unexported (golint)
    • Line 63: warning: exported method DeviceMetadataUpdatePending.IsExpired should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/store/subscription.go
    • Line 7: warning: exported type Type should have comment or be unexported (golint)
    • Line 10: warning: don't use underscores in Go names; const Type_Devices should be TypeDevices (golint)
    • Line 10: warning: exported const Type_Devices should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; const Type_Device should be TypeDevice (golint)
    • Line 12: warning: don't use underscores in Go names; const Type_Resource should be TypeResource (golint)
    • Line 15: warning: exported type Subscription should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/store/linkedAccount.go
    • Line 12: warning: exported type AccessToken should have comment or be unexported (golint)
    • Line 18: warning: exported type Token should have comment or be unexported (golint)
    • Line 24: warning: exported type LinkedCloudsHandler should have comment or be unexported (golint)
    • Line 28: warning: exported method LinkedCloudsHandler.Handle should have comment or be unexported (golint)
    • Line 39: warning: exported method Token.Refresh should have comment or be unexported (golint)
    • Line 61: warning: exported method Token.IsValidAccessToken should have comment or be unexported (golint)
    • Line 68: warning: exported method Token.GetAccessToken should have comment or be unexported (golint)
    • Line 101: warning: exported method AccessToken.GetSubject should have comment or be unexported (golint)
    • Line 105: warning: exported type LinkedAccount should have comment or be unexported (golint)
    • cloud/authorization/service/config.go
    • Line 25: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 41: warning: exported type APIsConfig should have comment or be unexported (golint)
    • Line 46: warning: exported method APIsConfig.Validate should have comment or be unexported (golint)
    • Line 58: warning: exported type ClientsConfig should have comment or be unexported (golint)
    • Line 63: warning: exported method ClientsConfig.Validate should have comment or be unexported (golint)
    • Line 71: warning: exported type EventBusConfig should have comment or be unexported (golint)
    • Line 75: warning: exported method EventBusConfig.Validate should have comment or be unexported (golint)
    • Line 83: warning: exported type OAuthClientsConfig should have comment or be unexported (golint)
    • Line 88: warning: exported method OAuthClientsConfig.Validate should have comment or be unexported (golint)
    • Line 100: warning: exported type SDKOAuthConfig should have comment or be unexported (golint)
    • Line 105: warning: exported method SDKOAuthConfig.Validate should have comment or be unexported (golint)
    • Line 117: warning: exported type StorageConfig should have comment or be unexported (golint)
    • Line 122: warning: exported method StorageConfig.Validate should have comment or be unexported (golint)
    • cloud/grpc-gateway/service/grpcApi.go
    • Line 40: warning: exported function AddHandler should have comment or be unexported (golint)
    • Line 55: warning: exported function NewRequestHandlerFromConfig should have comment or be unexported (golint)
    • Line 127: warning: exported method RequestHandler.Close should have comment or be unexported (golint)
    • cloud/resource-directory/service/config.go
    • Line 17: warning: exported type Config should have comment or be unexported (golint)
    • Line 24: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 40: warning: comment on exported type APIsConfig should be of the form "APIsConfig ..." (with optional leading article) (golint)
    • Line 45: warning: exported method APIsConfig.Validate should have comment or be unexported (golint)
    • Line 53: warning: exported type ClientsConfig should have comment or be unexported (golint)
    • Line 59: warning: exported type EventBusConfig should have comment or be unexported (golint)
    • Line 64: warning: exported method EventBusConfig.Validate should have comment or be unexported (golint)
    • Line 75: warning: exported type EventStoreConfig should have comment or be unexported (golint)
    • Line 80: warning: exported method EventStoreConfig.Validate should have comment or be unexported (golint)
    • Line 87: warning: exported method ClientsConfig.Validate should have comment or be unexported (golint)
    • Line 103: warning: exported type AuthorizationServerConfig should have comment or be unexported (golint)
    • Line 111: warning: exported method AuthorizationServerConfig.Validate should have comment or be unexported (golint)
    • Line 132: warning: exported type PublicConfiguration should have comment or be unexported (golint)
    • Line 145: warning: exported method PublicConfiguration.Validate should have comment or be unexported (golint)
    • Line 164: warning: exported method PublicConfiguration.ToProto should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/eventbus/nats/publisher/publisher.go
    • Line 29: warning: exported method Publisher.AddCloseFunc should have comment or be unexported (golint)
    • Line 37: warning: exported type Option should have comment or be unexported (golint)
    • Line 41: warning: exported type MarshalerOpt should have comment or be unexported (golint)
    • Line 49: warning: exported function WithMarshaler should have comment or be unexported (golint)
    • Line 144: warning: exported method Publisher.PublishData should have comment or be unexported (golint)
    • Line 148: warning: exported method Publisher.Flush should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/service/retrieveResource.go
    • Line 12: warning: exported method RequestHandler.RetrieveResourceBase should have comment or be unexported (golint)
    • Line 32: warning: exported method RequestHandler.RetrieveResourceWithContentQuery should have comment or be unexported (golint)
    • Line 48: warning: exported method RequestHandler.RetrieveResource should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/service/devicesSubscription.go
    • Line 16: warning: exported method SubscriptionManager.SubscribeToDevices should have comment or be unexported (golint)
    • Line 86: warning: exported method SubscriptionManager.HandleDevicesRegistered should have comment or be unexported (golint)
    • Line 122: warning: exported method SubscriptionManager.HandleDevicesUnregistered should have comment or be unexported (golint)
    • Line 207: warning: exported method SubscriptionManager.HandleDevicesEvent should have comment or be unexported (golint)
    • cloud/pkg/net/grpc/server/makeDefaultOptions.go
    • Line 17: warning: exported function MakeDefaultOptions should have comment or be unexported (golint)
    • Line 45: warning: exported type Option should have comment or be unexported (golint)
    • Line 47: warning: exported function WithOwnerClaim should have comment or be unexported (golint)
    • Line 53: warning: exported function NewAuth should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceDeletePending.go
    • Line 12: warning: exported method ResourceDeletePending.Version should have comment or be unexported (golint)
    • Line 16: warning: exported method ResourceDeletePending.Marshal should have comment or be unexported (golint)
    • Line 20: warning: exported method ResourceDeletePending.Unmarshal should have comment or be unexported (golint)
    • Line 24: warning: exported method ResourceDeletePending.EventType should have comment or be unexported (golint)
    • Line 28: warning: exported method ResourceDeletePending.AggregateID should have comment or be unexported (golint)
    • Line 32: warning: exported method ResourceDeletePending.GroupID should have comment or be unexported (golint)
    • Line 36: warning: exported method ResourceDeletePending.IsSnapshot should have comment or be unexported (golint)
    • Line 40: warning: exported method ResourceDeletePending.Timestamp should have comment or be unexported (golint)
    • Line 44: warning: exported method ResourceDeletePending.CopyData should have comment or be unexported (golint)
    • Line 50: warning: exported method ResourceDeletePending.CheckInitialized should have comment or be unexported (golint)
    • Line 56: warning: exported method ResourceDeletePending.ValidUntilTime should have comment or be unexported (golint)
    • Line 60: warning: exported method ResourceDeletePending.IsExpired should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceChanged.go
    • Line 13: warning: exported method ResourceChanged.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method ResourceChanged.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method ResourceChanged.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method ResourceChanged.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method ResourceChanged.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method ResourceChanged.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method ResourceChanged.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method ResourceChanged.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method ResourceChanged.CopyData should have comment or be unexported (golint)
    • Line 53: warning: exported method ResourceChanged.CheckInitialized should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/utils/notification/createNotificationContainer.go
    • Line 9: warning: exported type CreateNotificationContainer should have comment or be unexported (golint)
    • Line 13: warning: exported function NewCreateNotificationContainer should have comment or be unexported (golint)
    • Line 17: warning: exported method CreateNotificationContainer.Add should have comment or be unexported (golint)
    • Line 23: warning: exported method CreateNotificationContainer.Find should have comment or be unexported (golint)
    • Line 31: warning: exported method CreateNotificationContainer.Remove should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/utils/notification/deleteNotificationContainer.go
    • Line 9: warning: exported type DeleteNotificationContainer should have comment or be unexported (golint)
    • Line 13: warning: exported function NewDeleteNotificationContainer should have comment or be unexported (golint)
    • Line 17: warning: exported method DeleteNotificationContainer.Add should have comment or be unexported (golint)
    • Line 23: warning: exported method DeleteNotificationContainer.Find should have comment or be unexported (golint)
    • Line 31: warning: exported method DeleteNotificationContainer.Remove should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/utils.go
    • Line 19: warning: exported function EqualResource should have comment or be unexported (golint)
    • Line 31: warning: exported function EqualStringSlice should have comment or be unexported (golint)
    • Line 43: warning: exported function IsExpired should have comment or be unexported (golint)
    • cloud/test/oauth-server/service/config.go
    • Line 12: warning: exported type AsymmetricKey should have comment or be unexported (golint)
    • Line 17: warning: exported type AccessTokenType should have comment or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; const AccessTokenType_JWT should be AccessTokenTypeJWT (golint)
    • Line 19: warning: exported const AccessTokenType_JWT should have comment or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; const AccessTokenType_REFERENCE should be AccessTokenTypeREFERENCE (golint)
    • Line 20: warning: exported const AccessTokenType_REFERENCE should have comment or be unexported (golint)
    • Line 22: warning: exported type AllowedGrantType should have comment or be unexported (golint)
    • Line 24: warning: don't use underscores in Go names; const AllowedGrantType_AUTHORIZATION_CODE should be AllowedGrantTypeAUTHORIZATIONCODE (golint)
    • Line 24: warning: exported const AllowedGrantType_AUTHORIZATION_CODE should have comment or be unexported (golint)
    • Line 25: warning: don't use underscores in Go names; const AllowedGrantType_CLIENT_CREDENTIALS should be AllowedGrantTypeCLIENTCREDENTIALS (golint)
    • Line 25: warning: exported const AllowedGrantType_CLIENT_CREDENTIALS should have comment or be unexported (golint)
    • Line 26: warning: don't use underscores in Go names; const AllowedGrantType_PASSWORD should be AllowedGrantTypePASSWORD (golint)
    • Line 26: warning: exported const AllowedGrantType_PASSWORD should have comment or be unexported (golint)
    • Line 28: warning: exported type AllowedGrantTypes should have comment or be unexported (golint)
    • Line 30: warning: exported method AllowedGrantTypes.IsAllowed should have comment or be unexported (golint)
    • Line 39: warning: exported type Client should have comment or be unexported (golint)
    • Line 45: warning: exported method Client.SetDefaults should have comment or be unexported (golint)
    • Line 51: warning: exported method Client.Validate should have comment or be unexported (golint)
    • Line 58: warning: exported type ClientsConfig should have comment or be unexported (golint)
    • Line 60: warning: exported method ClientsConfig.Find should have comment or be unexported (golint)
    • Line 84: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 96: warning: comment on exported type APIsConfig should be of the form "APIsConfig ..." (with optional leading article) (golint)
    • Line 101: warning: exported method APIsConfig.Validate should have comment or be unexported (golint)
    • Line 109: warning: exported type OAuthSignerConfig should have comment or be unexported (golint)
    • Line 115: warning: exported const ClientTest should have comment or be unexported (golint)
    • Line 117: warning: exported method OAuthSignerConfig.Validate should have comment or be unexported (golint)
    • cloud/coap-gateway/service/service.go
    • Line 67: warning: exported type DialCertManager should have comment or be unexported (golint)
    • Line 71: warning: exported type ListenCertManager should have comment or be unexported (golint)
    • Line 478: warning: comment on exported method Service.Close should be of the form "Close ..." (golint)
    • cloud/pkg/net/grpc/client/config.go
    • Line 10: warning: exported type KeepAliveConfig should have comment or be unexported (golint)
    • Line 25: warning: exported type Config should have comment or be unexported (golint)
    • Line 31: warning: exported method Config.Validate should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/eventstore/event.go
    • Line 40: warning: exported type LoadedEvent should have comment or be unexported (golint)
    • Line 50: warning: exported function NewLoadedEvent should have comment or be unexported (golint)
    • Line 69: warning: exported method LoadedEvent.Version should have comment or be unexported (golint)
    • Line 72: warning: exported method LoadedEvent.EventType should have comment or be unexported (golint)
    • Line 75: warning: exported method LoadedEvent.AggregateID should have comment or be unexported (golint)
    • Line 78: warning: exported method LoadedEvent.GroupID should have comment or be unexported (golint)
    • Line 81: warning: exported method LoadedEvent.Unmarshal should have comment or be unexported (golint)
    • Line 84: warning: exported method LoadedEvent.IsSnapshot should have comment or be unexported (golint)
    • Line 87: warning: exported method LoadedEvent.Timestamp should have comment or be unexported (golint)
    • cloud/resource-aggregate/service/service.go
    • Line 30: warning: exported type EventStore should have comment or be unexported (golint)
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • Line 76: warning: comment on exported function NewService should be of the form "NewService ..." (golint)
    • Line 173: warning: exported method Service.AddCloseFunc should have comment or be unexported (golint)
    • Line 177: warning: exported function NewAuth should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/test/test.go
    • Line 13: warning: exported function MakeConfig should have comment or be unexported (golint)
    • Line 29: warning: exported function SetUp should have comment or be unexported (golint)
    • Line 33: warning: exported function New should have comment or be unexported (golint)
    • cloud/grpc-gateway/pb/deviceconv.go
    • Line 7: warning: exported method LocalizedString.ToSchema should have comment or be unexported (golint)
    • Line 14: warning: exported type LocalizedStrings should have comment or be unexported (golint)
    • Line 16: warning: exported method LocalizedStrings.ToSchema should have comment or be unexported (golint)
    • Line 24: warning: exported method Device.ToSchema should have comment or be unexported (golint)
    • Line 36: warning: exported function SchemaLocalizedStringToProto should have comment or be unexported (golint)
    • Line 43: warning: exported function SchemaLocalizedStringsToProto should have comment or be unexported (golint)
    • Line 54: warning: exported function SchemaDeviceToProto should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceUpdated.go
    • Line 13: warning: exported method ResourceUpdated.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method ResourceUpdated.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method ResourceUpdated.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method ResourceUpdated.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method ResourceUpdated.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method ResourceUpdated.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method ResourceUpdated.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method ResourceUpdated.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method ResourceUpdated.CopyData should have comment or be unexported (golint)
    • Line 53: warning: exported method ResourceUpdated.CheckInitialized should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/deviceMetadataSnapshotTaken.go
    • Line 21: warning: exported method DeviceMetadataSnapshotTaken.Version should have comment or be unexported (golint)
    • Line 25: warning: exported method DeviceMetadataSnapshotTaken.Marshal should have comment or be unexported (golint)
    • Line 29: warning: exported method DeviceMetadataSnapshotTaken.Unmarshal should have comment or be unexported (golint)
    • Line 33: warning: exported method DeviceMetadataSnapshotTaken.EventType should have comment or be unexported (golint)
    • Line 37: warning: exported method DeviceMetadataSnapshotTaken.AggregateID should have comment or be unexported (golint)
    • Line 41: warning: exported method DeviceMetadataSnapshotTaken.GroupID should have comment or be unexported (golint)
    • Line 45: warning: exported method DeviceMetadataSnapshotTaken.IsSnapshot should have comment or be unexported (golint)
    • Line 49: warning: exported method DeviceMetadataSnapshotTaken.Timestamp should have comment or be unexported (golint)
    • Line 53: warning: exported method DeviceMetadataSnapshotTaken.CopyData should have comment or be unexported (golint)
    • Line 60: warning: exported method DeviceMetadataSnapshotTaken.CheckInitialized should have comment or be unexported (golint)
    • Line 67: warning: exported method DeviceMetadataSnapshotTaken.HandleDeviceMetadataUpdated should have comment or be unexported (golint)
    • Line 90: warning: exported method DeviceMetadataSnapshotTaken.HandleDeviceMetadataSnapshotTaken should have comment or be unexported (golint)
    • Line 97: warning: exported method DeviceMetadataSnapshotTaken.HandleDeviceMetadataUpdatePending should have comment or be unexported (golint)
    • Line 119: warning: exported method DeviceMetadataSnapshotTaken.Handle should have comment or be unexported (golint)
    • Line 165: warning: exported method DeviceMetadataSnapshotTaken.ConfirmDeviceMetadataUpdate should have comment or be unexported (golint)
    • Line 205: warning: exported method DeviceMetadataSnapshotTaken.CancelPendingMetadataUpdates should have comment or be unexported (golint)
    • Line 232: warning: exported method DeviceMetadataSnapshotTaken.HandleCommand should have comment or be unexported (golint)
    • Line 288: warning: exported method DeviceMetadataSnapshotTaken.TakeSnapshot should have comment or be unexported (golint)
    • Line 296: warning: exported function NewDeviceMetadataSnapshotTaken should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/eventbus/nats/subscriber/subscriber.go
    • Line 45: warning: exported method Subscriber.AddCloseFunc should have comment or be unexported (golint)
    • Line 49: warning: exported method Subscriber.AddReconnectFunc should have comment or be unexported (golint)
    • Line 60: warning: exported method Subscriber.RemoveReconnectFunc should have comment or be unexported (golint)
    • Line 105: warning: exported type Option should have comment or be unexported (golint)
    • Line 109: warning: exported type UnmarshalerOpt should have comment or be unexported (golint)
    • Line 117: warning: exported function WithUnmarshaler should have comment or be unexported (golint)
    • Line 123: warning: exported type GoroutinePoolGoOpt should have comment or be unexported (golint)
    • Line 131: warning: exported function WithGoPool should have comment or be unexported (golint)
    • Line 137: warning: comment on exported function New should be of the form "New ..." (golint)
    • cloud/resource-directory/service/grpcApi.go
    • Line 60: warning: exported method RequestHandler.Close should have comment or be unexported (golint)
    • Line 64: warning: exported function AddHandler should have comment or be unexported (golint)
    • Line 79: warning: exported function NewRequestHandlerFromConfig should have comment or be unexported (golint)
    • Line 189: warning: exported function NewEventStoreModelFactory should have comment or be unexported (golint)
    • Line 201: warning: exported method RequestHandler.SubscribeToEvents should have comment or be unexported (golint)
    • Line 201: warning: receiver name r should be consistent with previous receiver name s for RequestHandler (golint)
    • cloud/pkg/security/jwt/scopeClaims.go
    • Line 8: warning: exported type ScopeClaims should have comment or be unexported (golint)
    • Line 13: warning: exported function NewScopeClaims should have comment or be unexported (golint)
    • Line 21: warning: exported function NewRegexpScopeClaims should have comment or be unexported (golint)
    • Line 25: warning: exported method ScopeClaims.Valid should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/service/subscriptions.go
    • Line 24: warning: exported type Subscription should have comment or be unexported (golint)
    • Line 28: warning: exported type SubscriptionData should have comment or be unexported (golint)
    • Line 38: warning: exported method SubscriptionData.Subscription should have comment or be unexported (golint)
    • Line 44: warning: exported method SubscriptionData.Data should have comment or be unexported (golint)
    • Line 50: warning: exported method SubscriptionData.Store should have comment or be unexported (golint)
    • Line 222: warning: exported method SubscriptionData.Connect should have comment or be unexported (golint)
    • Line 259: warning: exported method SubscriptionData.IncrementSequenceNumber should have comment or be unexported (golint)
    • Line 270: warning: exported method SubscriptionData.SetInitialized should have comment or be unexported (golint)
    • Line 303: warning: exported type SubscriptionManager should have comment or be unexported (golint)
    • Line 312: warning: exported function NewSubscriptionManager should have comment or be unexported (golint)
    • Line 338: warning: exported method SubscriptionManager.LoadSubscriptions should have comment or be unexported (golint)
    • Line 359: warning: exported method SubscriptionManager.Connect should have comment or be unexported (golint)
    • Line 373: warning: exported method SubscriptionManager.Store should have comment or be unexported (golint)
    • Line 382: warning: exported method SubscriptionManager.Load should have comment or be unexported (golint)
    • Line 402: warning: exported method SubscriptionManager.PullOut should have comment or be unexported (golint)
    • Line 433: warning: exported method SubscriptionManager.DumpNotConnectedSubscriptionDatas should have comment or be unexported (golint)
    • Line 445: warning: exported method SubscriptionManager.Run should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceRetrievePending.go
    • Line 12: warning: exported method ResourceRetrievePending.Version should have comment or be unexported (golint)
    • Line 16: warning: exported method ResourceRetrievePending.Marshal should have comment or be unexported (golint)
    • Line 20: warning: exported method ResourceRetrievePending.Unmarshal should have comment or be unexported (golint)
    • Line 24: warning: exported method ResourceRetrievePending.EventType should have comment or be unexported (golint)
    • Line 28: warning: exported method ResourceRetrievePending.AggregateID should have comment or be unexported (golint)
    • Line 32: warning: exported method ResourceRetrievePending.GroupID should have comment or be unexported (golint)
    • Line 36: warning: exported method ResourceRetrievePending.IsSnapshot should have comment or be unexported (golint)
    • Line 40: warning: exported method ResourceRetrievePending.Timestamp should have comment or be unexported (golint)
    • Line 44: warning: exported method ResourceRetrievePending.CopyData should have comment or be unexported (golint)
    • Line 51: warning: exported method ResourceRetrievePending.CheckInitialized should have comment or be unexported (golint)
    • Line 58: warning: exported method ResourceRetrievePending.ValidUntilTime should have comment or be unexported (golint)
    • Line 62: warning: exported method ResourceRetrievePending.IsExpired should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/events/devices.go
    • Line 3: warning: exported type Device should have comment or be unexported (golint)
    • Line 7: warning: exported type DevicesOnline should have comment or be unexported (golint)
    • Line 8: warning: exported type DevicesOffline should have comment or be unexported (golint)
    • Line 9: warning: exported type DevicesRegistered should have comment or be unexported (golint)
    • Line 10: warning: exported type DevicesUnregistered should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/service/httpApi.go
    • Line 25: warning: exported const HrefKey should have comment or be unexported (golint)
    • Line 29: warning: exported const ContentQuery should have comment or be unexported (golint)
    • Line 30: warning: exported const ContentQueryBaseValue should have comment or be unexported (golint)
    • Line 31: warning: exported const ContentQueryAllValue should have comment or be unexported (golint)
    • Line 32: warning: exported const ContentQueryDefault should have comment or be unexported (golint)
    • Line 34: warning: exported type ListDevicesOfUserFunc should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceLinksSnapshotTaken.go
    • Line 22: warning: exported method ResourceLinksSnapshotTaken.AggregateID should have comment or be unexported (golint)
    • Line 26: warning: exported method ResourceLinksSnapshotTaken.GroupID should have comment or be unexported (golint)
    • Line 30: warning: exported method ResourceLinksSnapshotTaken.Version should have comment or be unexported (golint)
    • Line 34: warning: exported method ResourceLinksSnapshotTaken.Marshal should have comment or be unexported (golint)
    • Line 38: warning: exported method ResourceLinksSnapshotTaken.Unmarshal should have comment or be unexported (golint)
    • Line 42: warning: exported method ResourceLinksSnapshotTaken.EventType should have comment or be unexported (golint)
    • Line 46: warning: exported method ResourceLinksSnapshotTaken.IsSnapshot should have comment or be unexported (golint)
    • Line 50: warning: exported method ResourceLinksSnapshotTaken.Timestamp should have comment or be unexported (golint)
    • Line 54: warning: exported method ResourceLinksSnapshotTaken.CopyData should have comment or be unexported (golint)
    • Line 60: warning: exported method ResourceLinksSnapshotTaken.CheckInitialized should have comment or be unexported (golint)
    • Line 66: warning: comment on exported method ResourceLinksSnapshotTaken.GetNewPublishedLinks should be of the form "GetNewPublishedLinks ..." (golint)
    • Line 86: warning: exported method ResourceLinksSnapshotTaken.HandleEventResourceLinksPublished should have comment or be unexported (golint)
    • Line 100: warning: exported method ResourceLinksSnapshotTaken.HandleEventResourceLinksUnpublished should have comment or be unexported (golint)
    • Line 123: warning: exported method ResourceLinksSnapshotTaken.HandleEventResourceLinksSnapshotTaken should have comment or be unexported (golint)
    • Line 130: warning: exported method ResourceLinksSnapshotTaken.Handle should have comment or be unexported (golint)
    • Line 169: warning: exported method ResourceLinksSnapshotTaken.HandleCommand should have comment or be unexported (golint)
    • Line 228: warning: exported method ResourceLinksSnapshotTaken.TakeSnapshot should have comment or be unexported (golint)
    • Line 242: warning: exported function NewResourceLinksSnapshotTaken should have comment or be unexported (golint)
    • Line 250: warning: exported method ResourceLinksSnapshotTaken.ToResourceLinksPublished should have comment or be unexported (golint)
    • cloud/grpc-gateway/service/service.go
    • Line 15: warning: exported type Service should have comment or be unexported (golint)
    • Line 19: warning: exported function New should have comment or be unexported (golint)
    • Line 73: warning: exported function NewAuth should have comment or be unexported (golint)
    • cloud/pkg/net/grpc/auth.go
    • Line 22: warning: exported type AuthInterceptors should have comment or be unexported (golint)
    • Line 26: warning: exported function MakeAuthInterceptors should have comment or be unexported (golint)
    • Line 39: warning: exported function MakeJWTInterceptors should have comment or be unexported (golint)
    • Line 43: warning: exported method AuthInterceptors.Unary should have comment or be unexported (golint)
    • Line 46: warning: exported method AuthInterceptors.Stream should have comment or be unexported (golint)
    • Line 50: warning: exported type ClaimsFunc should have comment or be unexported (golint)
    • Line 51: warning: exported type Claims should have comment or be unexported (golint)
    • Line 52: warning: exported type Validator should have comment or be unexported (golint)
    • Line 56: warning: exported function ValidateJWTWithValidator should have comment or be unexported (golint)
    • Line 70: warning: exported function ValidateJWT should have comment or be unexported (golint)
    • Line 126: warning: exported function ParseOwnerFromJwtToken should have comment or be unexported (golint)
    • cloud/grpc-gateway/client/client.go
    • Line 22: warning: exported type ApplicationCallback should have comment or be unexported (golint)
    • Line 26: warning: exported type OnboardOption should have comment or be unexported (golint)
    • Line 31: warning: exported type Config should have comment or be unexported (golint)
    • Line 35: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 77: warning: exported method Client.GrpcGatewayClient should have comment or be unexported (golint)
    • Line 106: warning: exported method Client.Close should have comment or be unexported (golint)
    • Line 159: warning: exported type TypeCallback should have comment or be unexported (golint)
    • Line 164: warning: exported function MakeTypeCallback should have comment or be unexported (golint)
    • Line 268: warning: exported type ResourceIDCallback should have comment or be unexported (golint)
    • Line 273: warning: exported function MakeResourceIDCallback should have comment or be unexported (golint)
    • cloud/http-gateway/service/config.go
    • Line 15: warning: exported type Config should have comment or be unexported (golint)
    • Line 22: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 38: warning: comment on exported type APIsConfig should be of the form "APIsConfig ..." (with optional leading article) (golint)
    • Line 43: warning: exported method APIsConfig.Validate should have comment or be unexported (golint)
    • Line 51: warning: exported type WebSocketConfig should have comment or be unexported (golint)
    • Line 56: warning: exported method WebSocketConfig.Validate should have comment or be unexported (golint)
    • Line 66: warning: exported type HTTPConfig should have comment or be unexported (golint)
    • Line 72: warning: exported method HTTPConfig.Validate should have comment or be unexported (golint)
    • Line 84: warning: exported type ClientsConfig should have comment or be unexported (golint)
    • Line 88: warning: exported type GrpcServerConfig should have comment or be unexported (golint)
    • Line 92: warning: exported method GrpcServerConfig.Validate should have comment or be unexported (golint)
    • Line 100: warning: exported type EventBusConfig should have comment or be unexported (golint)
    • Line 105: warning: exported method EventBusConfig.Validate should have comment or be unexported (golint)
    • Line 113: warning: exported method ClientsConfig.Validate should have comment or be unexported (golint)
    • Line 131: warning: exported method OAuthClientConfig.Validate should have comment or be unexported (golint)
    • Line 154: warning: exported method UIConfig.Validate should have comment or be unexported (golint)
    • cloud/resource-aggregate/service/aggregate.go
    • Line 17: warning: exported type LogPublishErrFunc should have comment or be unexported (golint)
    • Line 24: warning: exported function ResourceStateFactoryModel should have comment or be unexported (golint)
    • Line 28: warning: exported function ResourceLinksFactoryModel should have comment or be unexported (golint)
    • Line 32: warning: exported function DeviceMetadataFactoryModel should have comment or be unexported (golint)
    • cloud/pkg/net/grpc/interceptor.go
    • Line 10: warning: exported type Interceptor should have comment or be unexported (golint)
    • Line 12: warning: exported function UnaryServerInterceptorOption should have comment or be unexported (golint)
    • Line 16: warning: exported function StreamServerInterceptorOption should have comment or be unexported (golint)
    • cloud/grpc-gateway/client/deviceSubscriptions.go
    • Line 67: warning: exported function NewDeviceSubscriptions should have comment or be unexported (golint)
    • Line 121: warning: exported type DeviceSubscriptions should have comment or be unexported (golint)
    • Line 216: warning: exported type Subcription should have comment or be unexported (golint)
    • Line 221: warning: exported method Subcription.ID should have comment or be unexported (golint)
    • Line 225: warning: exported method Subcription.Cancel should have comment or be unexported (golint)
    • Line 229: warning: exported method DeviceSubscriptions.Subscribe should have comment or be unexported (golint)
    • Line 572: warning: exported function ToDeviceSubscriptions should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/service/cache.go
    • Line 11: warning: exported type ResourceData should have comment or be unexported (golint)
    • Line 17: warning: exported function NewResourceData should have comment or be unexported (golint)
    • Line 21: warning: exported method ResourceData.LoadOrCreate should have comment or be unexported (golint)
    • Line 32: warning: exported method ResourceData.PullOut should have comment or be unexported (golint)
    • Line 47: warning: exported method ResourceData.Subscription should have comment or be unexported (golint)
    • Line 53: warning: exported method ResourceData.Dump should have comment or be unexported (golint)
    • Line 61: warning: exported method ResourceData.DumpTasks should have comment or be unexported (golint)
    • Line 76: warning: exported type DeviceData should have comment or be unexported (golint)
    • Line 84: warning: exported function NewDeviceData should have comment or be unexported (golint)
    • Line 90: warning: exported method DeviceData.LoadOrCreate should have comment or be unexported (golint)
    • Line 108: warning: exported method DeviceData.PullOut should have comment or be unexported (golint)
    • Line 131: warning: exported method DeviceData.Subscription should have comment or be unexported (golint)
    • Line 137: warning: exported method DeviceData.Dump should have comment or be unexported (golint)
    • Line 152: warning: exported method DeviceData.DumpResources should have comment or be unexported (golint)
    • Line 161: warning: exported method DeviceData.DumpTasks should have comment or be unexported (golint)
    • Line 186: warning: exported type LinkedAccountData should have comment or be unexported (golint)
    • Line 195: warning: exported function NewLinkedAccountData should have comment or be unexported (golint)
    • Line 202: warning: exported method LinkedAccountData.LoadOrCreate should have comment or be unexported (golint)
    • Line 220: warning: exported method LinkedAccountData.PullOut should have comment or be unexported (golint)
    • Line 243: warning: exported method LinkedAccountData.Subscription should have comment or be unexported (golint)
    • Line 249: warning: exported method LinkedAccountData.LinkedAccount should have comment or be unexported (golint)
    • Line 255: warning: exported method LinkedAccountData.Dump should have comment or be unexported (golint)
    • Line 271: warning: exported method LinkedAccountData.DumpDevices should have comment or be unexported (golint)
    • Line 280: warning: exported method LinkedAccountData.DumpTasks should have comment or be unexported (golint)
    • Line 305: warning: exported type CloudData should have comment or be unexported (golint)
    • Line 310: warning: exported function NewCloudData should have comment or be unexported (golint)
    • Line 317: warning: exported method CloudData.Dump should have comment or be unexported (golint)
    • Line 330: warning: exported method CloudData.DumpLinkedAccounts should have comment or be unexported (golint)
    • Line 339: warning: exported method CloudData.DumpTasks should have comment or be unexported (golint)
    • Line 353: warning: exported type Cache should have comment or be unexported (golint)
    • Line 358: warning: exported function NewCache should have comment or be unexported (golint)
    • Line 404: warning: exported method Cache.LoadSubscription should have comment or be unexported (golint)
    • Line 422: warning: exported method Cache.LoadDevicesSubscription should have comment or be unexported (golint)
    • Line 435: warning: exported method Cache.LoadDeviceSubscription should have comment or be unexported (golint)
    • Line 448: warning: exported method Cache.LoadResourceSubscription should have comment or be unexported (golint)
    • Line 461: warning: exported method Cache.LoadOrCreateCloud should have comment or be unexported (golint)
    • Line 468: warning: exported method Cache.LoadCloud should have comment or be unexported (golint)
    • Line 473: warning: exported method Cache.LoadOrCreateLinkedAccount should have comment or be unexported (golint)
    • Line 485: warning: exported method Cache.UpdateLinkedAccount should have comment or be unexported (golint)
    • Line 496: warning: exported method Cache.LoadOrCreateSubscription should have comment or be unexported (golint)
    • Line 516: warning: exported method Cache.PullOutSubscription should have comment or be unexported (golint)
    • Line 561: warning: exported method Cache.PullOutCloud should have comment or be unexported (golint)
    • Line 573: warning: exported method Cache.PullOutLinkedAccount should have comment or be unexported (golint)
    • Line 588: warning: exported method Cache.PullOutDevice should have comment or be unexported (golint)
    • Line 602: warning: exported method Cache.PullOutResource should have comment or be unexported (golint)
    • Line 616: warning: exported method Cache.DumpClouds should have comment or be unexported (golint)
    • Line 625: warning: exported method Cache.Dump should have comment or be unexported (golint)
    • Line 633: warning: exported method Cache.DumpLinkedAccounts should have comment or be unexported (golint)
    • Line 646: warning: exported method Cache.DumpDevices should have comment or be unexported (golint)
    • Line 666: warning: exported method Cache.DumpTasks should have comment or be unexported (golint)
    • cloud/pkg/log/log.go
    • Line 34: warning: exported type Logger should have comment or be unexported (golint)
    • Line 77: warning: exported function Get should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/refImpl/refImpl.go
    • Line 1: warning: don't use MixedCaps in package name; refImpl should be refimpl (golint)
    • Line 17: warning: exported type Config should have comment or be unexported (golint)
    • Line 32: warning: exported type RefImpl should have comment or be unexported (golint)
    • Line 38: warning: exported function Init should have comment or be unexported (golint)
    • Line 68: warning: exported method RefImpl.Serve should have comment or be unexported (golint)
    • Line 72: warning: exported method RefImpl.Close should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/eventstore/test/acceptance_testing.go
    • Line 67: warning: context.Context should be the first parameter of a function (golint)
    • Line 67: warning: exported function GetEventsTest should have comment or be unexported (golint)
    • Line 155: warning: context.Context should be the first parameter of a function (golint)
    • Line 162: warning: context.Context should be the first parameter of a function (golint)
    • Line 174: warning: context.Context should be the first parameter of a function (golint)
    • Line 174: warning: exported function AcceptanceTest should have comment or be unexported (golint)
    • cloud/authorization/service/service.go
    • Line 40: warning: comment on exported type Persistence should be of the form "Persistence ..." (with optional leading article) (golint)
    • Line 67: warning: exported function NewService should have comment or be unexported (golint)
    • Line 78: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 186: warning: exported function NewAuth should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/deviceMetadataUpdated.go
    • Line 13: warning: exported method DeviceMetadataUpdated.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method DeviceMetadataUpdated.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method DeviceMetadataUpdated.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method DeviceMetadataUpdated.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method DeviceMetadataUpdated.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method DeviceMetadataUpdated.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method DeviceMetadataUpdated.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method DeviceMetadataUpdated.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method DeviceMetadataUpdated.CopyData should have comment or be unexported (golint)
    • Line 53: warning: exported method DeviceMetadataUpdated.CheckInitialized should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method DeviceMetadataUpdated.Equal should be of the form "Equal ..." (golint)
    • cloud/test/sdkclient.go
    • Line 47: warning: exported function NewSDKClient should have comment or be unexported (golint)
    • Line 122: warning: exported var CertIdentity should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/store/linkedCloud.go
    • Line 15: warning: exported type Events should have comment or be unexported (golint)
    • Line 30: warning: exported method Events.NeedPullDevices should have comment or be unexported (golint)
    • Line 38: warning: exported method Events.NeedPullDevice should have comment or be unexported (golint)
    • Line 49: warning: exported method Events.NeedPullResources should have comment or be unexported (golint)
    • Line 57: warning: exported type Endpoint should have comment or be unexported (golint)
    • Line 64: warning: exported type LinkedCloud should have comment or be unexported (golint)
    • Line 72: warning: exported method LinkedCloud.GetHTTPClient should have comment or be unexported (golint)
    • Line 99: warning: exported method LinkedCloud.CtxWithHTTPClient should have comment or be unexported (golint)
    • cloud/grpc-gateway/test/test.go
    • Line 14: warning: exported function MakeConfig should have comment or be unexported (golint)
    • Line 31: warning: exported function SetUp should have comment or be unexported (golint)
    • Line 35: warning: exported function New should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/store/store.go
    • Line 8: warning: exported type SubscriptionQuery should have comment or be unexported (golint)
    • Line 15: warning: exported type DevicesSubscriptionQuery should have comment or be unexported (golint)
    • Line 20: warning: exported type SubscriptionIter should have comment or be unexported (golint)
    • Line 25: warning: exported type SubscriptionHandler should have comment or be unexported (golint)
    • Line 29: warning: exported type Store should have comment or be unexported (golint)
    • cloud/pkg/net/grpc/server/config.go
    • Line 25: warning: exported method EnforcementPolicyConfig.ToGrpc should have comment or be unexported (golint)
    • Line 32: warning: exported type KeepAliveConfig should have comment or be unexported (golint)
    • Line 56: warning: exported method KeepAliveConfig.ToGrpc should have comment or be unexported (golint)
    • Line 66: warning: exported type Config should have comment or be unexported (golint)
    • Line 74: warning: exported method Config.Validate should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/utils/utils.go
    • Line 13: warning: exported function GetDeviceSubject should have comment or be unexported (golint)
    • Line 17: warning: exported function GetDeviceMetadataEventSubject should have comment or be unexported (golint)
    • Line 21: warning: exported function GetResourceSubject should have comment or be unexported (golint)
    • Line 25: warning: exported function GetResourceEventSubject should have comment or be unexported (golint)
    • Line 29: warning: exported function GetPublishSubject should have comment or be unexported (golint)
    • Line 39: warning: exported function TimeNowMs should have comment or be unexported (golint)
    • Line 45: warning: exported type ProtobufMarshaler should have comment or be unexported (golint)
    • Line 49: warning: exported type ProtobufUnmarshaler should have comment or be unexported (golint)
    • Line 53: warning: exported function Marshal should have comment or be unexported (golint)
    • Line 65: warning: exported function Unmarshal should have comment or be unexported (golint)
    • cloud/authorization/oauth/oauth.go
    • Line 5: warning: exported type AuthStyle should have comment or be unexported (golint)
    • Line 23: warning: exported method AuthStyle.ToOAuth2 should have comment or be unexported (golint)
    • Line 33: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 48: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 52: warning: exported method Config.ToOAuth2 should have comment or be unexported (golint)
    • Line 66: warning: exported method Config.AuthCodeURL should have comment or be unexported (golint)
    • cloud/pkg/time/unixnano.go
    • Line 5: warning: exported function UnixNano should have comment or be unexported (golint)
    • Line 13: warning: exported function Unix should have comment or be unexported (golint)
    • cloud/coap-gateway/service/client.go
    • Line 25: warning: exported const OCFBaselineInterface should have comment or be unexported (golint)
    • Line 119: warning: exported function ToClient should have comment or be unexported (golint)
    • Line 134: warning: exported method Client.Context should have comment or be unexported (golint)
    • Line 405: warning: exported method Client.CleanUp should have comment or be unexported (golint)
    • Line 450: warning: exported method Client.SetAuthorizationContext should have comment or be unexported (golint)
    • Line 459: warning: exported method Client.GetAuthorizationContext should have comment or be unexported (golint)
    • Line 494: warning: exported method Client.UpdateResource should have comment or be unexported (golint)
    • Line 564: warning: exported method Client.RetrieveResource should have comment or be unexported (golint)
    • Line 635: warning: exported method Client.DeleteResource should have comment or be unexported (golint)
    • Line 763: warning: exported method Client.CreateResource should have comment or be unexported (golint)
    • Line 819: warning: exported method Client.OnDeviceSubscriberReconnectError should have comment or be unexported (golint)
    • Line 828: warning: exported method Client.GetContext should have comment or be unexported (golint)
    • Line 853: warning: exported method Client.UpdateDeviceMetadata should have comment or be unexported (golint)
    • Line 887: warning: exported method Client.ValidateToken should have comment or be unexported (golint)
    • Line 887: warning: receiver name c should be consistent with previous receiver name client for Client (golint)
    • cloud/resource-aggregate/cqrs/eventstore/mongodb/getevents.go
    • Line 112: warning: exported type ResourceIdFilter should have comment or be unexported (golint)
    • Line 117: warning: exported type DeviceIdFilter should have comment or be unexported (golint)
    • Line 122: warning: exported function GetNormalizedGetEventsFilter should have comment or be unexported (golint)
    • Line 157: warning: comment on exported method EventStore.GetEvents should be of the form "GetEvents ..." (golint)
    • cloud/resource-aggregate/events/resourceLinksUnpublished.go
    • Line 13: warning: exported method ResourceLinksUnpublished.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method ResourceLinksUnpublished.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method ResourceLinksUnpublished.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method ResourceLinksUnpublished.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method ResourceLinksUnpublished.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method ResourceLinksUnpublished.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method ResourceLinksUnpublished.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method ResourceLinksUnpublished.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method ResourceLinksUnpublished.CopyData should have comment or be unexported (golint)
    • Line 52: warning: exported method ResourceLinksUnpublished.CheckInitialized should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/test/cloudOrigin.go
    • Line 17: warning: exported const AUTH_HOST should have comment or be unexported (golint)
    • Line 18: warning: exported const AUTH_HTTP_HOST should have comment or be unexported (golint)
    • Line 19: warning: exported const RESOURCE_AGGREGATE_HOST should have comment or be unexported (golint)
    • Line 20: warning: exported const RESOURCE_DIRECTORY_HOST should have comment or be unexported (golint)
    • Line 21: warning: exported const C2C_CONNECTOR_HOST should have comment or be unexported (golint)
    • Line 22: warning: exported const OAUTH_HOST should have comment or be unexported (golint)
    • Line 23: warning: exported const GRPC_GATEWAY_HOST should have comment or be unexported (golint)
    • Line 24: warning: exported const OAUTH_MANAGER_CLIENT_ID should have comment or be unexported (golint)
    • Line 25: warning: exported const OAUTH_MANAGER_AUDIENCE should have comment or be unexported (golint)
    • Line 27: warning: exported var C2C_CONNECTOR_EVENTS_URL should have comment or be unexported (golint)
    • Line 28: warning: exported var C2C_CONNECTOR_OAUTH_CALLBACK should have comment or be unexported (golint)
    • Line 29: warning: exported var OAUTH_MANAGER_ENDPOINT_TOKENURL should have comment or be unexported (golint)
    • Line 30: warning: exported var OAUTH_MANAGER_ENDPOINT_AUTHURL should have comment or be unexported (golint)
    • Line 31: warning: exported var JWKS_URL should have comment or be unexported (golint)
    • Line 38: warning: exported function SetUpCloudWithConnector should have comment or be unexported (golint)
    • cloud/resource-directory/service/projection.go
    • Line 30: warning: exported type Projection should have comment or be unexported (golint)
    • Line 35: warning: exported function NewProjection should have comment or be unexported (golint)
    • Line 84: warning: exported method Projection.GetResourceLinks should have comment or be unexported (golint)
    • Line 106: warning: exported method Projection.GetDevicesMetadata should have comment or be unexported (golint)
    • Line 124: warning: exported method Projection.GetResourcesWithLinks should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/projection/topicManager.go
    • Line 7: warning: exported type GetTopicsFunc should have comment or be unexported (golint)
    • Line 9: warning: exported type TopicManager should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTopicManager should have comment or be unexported (golint)
    • Line 22: warning: exported method TopicManager.Add should have comment or be unexported (golint)
    • Line 43: warning: exported method TopicManager.Remove should have comment or be unexported (golint)
    • cloud/resource-aggregate/service/config.go
    • Line 23: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 35: warning: exported type APIsConfig should have comment or be unexported (golint)
    • Line 39: warning: exported method APIsConfig.Validate should have comment or be unexported (golint)
    • Line 47: warning: exported type EventBusConfig should have comment or be unexported (golint)
    • Line 51: warning: exported method EventBusConfig.Validate should have comment or be unexported (golint)
    • Line 59: warning: exported type EventStoreConfig should have comment or be unexported (golint)
    • Line 66: warning: exported method EventStoreConfig.Validate should have comment or be unexported (golint)
    • Line 76: warning: exported type AuthorizationServerConfig should have comment or be unexported (golint)
    • Line 84: warning: exported method AuthorizationServerConfig.Validate should have comment or be unexported (golint)
    • Line 105: warning: exported type ClientsConfig should have comment or be unexported (golint)
    • Line 111: warning: exported method ClientsConfig.Validate should have comment or be unexported (golint)
    • cloud/grpc-gateway/client/observeDeviceResources.go
    • Line 11: warning: exported type DeviceResourcesObservationHandler should have comment or be unexported (golint)
    • Line 40: warning: exported method Client.ObserveDeviceResources should have comment or be unexported (golint)
    • Line 69: warning: exported method Client.StopObservingDeviceResources should have comment or be unexported (golint)
    • cloud/resource-directory/test/service.go
    • Line 15: warning: exported function MakeConfig should have comment or be unexported (golint)
    • Line 46: warning: exported function SetUp should have comment or be unexported (golint)
    • Line 50: warning: exported function New should have comment or be unexported (golint)
    • cloud/grpc-gateway/client/deviceSubscriber.go
    • Line 27: warning: exported type DeviceSubscriptionHandlers should have comment or be unexported (golint)
    • Line 32: warning: exported type Operations should have comment or be unexported (golint)
    • Line 42: warning: exported function NewDeviceSubscriptionHandlers should have comment or be unexported (golint)
    • Line 72: warning: exported method DeviceSubscriptionHandlers.HandleResourceUpdatePending should have comment or be unexported (golint)
    • Line 84: warning: exported method DeviceSubscriptionHandlers.HandleResourceRetrievePending should have comment or be unexported (golint)
    • Line 96: warning: exported method DeviceSubscriptionHandlers.HandleResourceDeletePending should have comment or be unexported (golint)
    • Line 108: warning: exported method DeviceSubscriptionHandlers.HandleResourceCreatePending should have comment or be unexported (golint)
    • Line 120: warning: exported method DeviceSubscriptionHandlers.HandleDeviceMetadataUpdatePending should have comment or be unexported (golint)
    • Line 132: warning: exported type DeviceSubscriber should have comment or be unexported (golint)
    • Line 148: warning: exported type RetryFunc should have comment or be unexported (golint)
    • Line 150: warning: exported function NewDeviceSubscriber should have comment or be unexported (golint)
    • Line 248: warning: exported method DeviceSubscriber.Close should have comment or be unexported (golint)
    • Line 316: warning: exported method DeviceSubscriber.SubscribeToPendingCommands should have comment or be unexported (golint)
    • Line 370: warning: exported method DeviceSubscriber.Handle should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceLinksPublished.go
    • Line 13: warning: exported method ResourceLinksPublished.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method ResourceLinksPublished.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method ResourceLinksPublished.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method ResourceLinksPublished.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method ResourceLinksPublished.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method ResourceLinksPublished.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method ResourceLinksPublished.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method ResourceLinksPublished.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method ResourceLinksPublished.CopyData should have comment or be unexported (golint)
    • Line 52: warning: exported method ResourceLinksPublished.CheckInitialized should have comment or be unexported (golint)
    • cloud/pkg/security/jwt/validator/validator.go
    • Line 31: warning: exported method Validator.Close should have comment or be unexported (golint)
    • Line 35: warning: exported function New should have comment or be unexported (golint)
    • Line 58: warning: exported method Validator.Parse should have comment or be unexported (golint)
    • Line 62: warning: exported method Validator.OpenIDConfiguration should have comment or be unexported (golint)
    • Line 66: warning: exported method Validator.ParseWithClaims should have comment or be unexported (golint)
    • cloud/certificate-authority/service/config.go
    • Line 13: warning: exported type Config should have comment or be unexported (golint)
    • Line 19: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 31: warning: comment on exported type APIsConfig should be of the form "APIsConfig ..." (with optional leading article) (golint)
    • Line 36: warning: exported method APIsConfig.Validate should have comment or be unexported (golint)
    • Line 44: warning: exported type SignerConfig should have comment or be unexported (golint)
    • Line 51: warning: exported method SignerConfig.Validate should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/eventstore/eventstore.go
    • Line 20: warning: comment on exported type GetEventsQuery should be of the form "GetEventsQuery ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type DeleteQuery should be of the form "DeleteQuery ..." (with optional leading article) (golint)
    • Line 32: warning: exported type SaveStatus should have comment or be unexported (golint)
    • Line 35: warning: exported const Ok should have comment (or a comment on this block) or be unexported (golint)
    • cloud/resource-aggregate/commands/resourceconv.go
    • Line 10: warning: exported method EndpointInformation.ToSchema should have comment or be unexported (golint)
    • Line 17: warning: exported type EndpointInformations should have comment or be unexported (golint)
    • Line 19: warning: exported method EndpointInformations.ToSchema should have comment or be unexported (golint)
    • Line 30: warning: exported method Policies.ToSchema should have comment or be unexported (golint)
    • Line 39: warning: exported method Resource.ToSchema should have comment or be unexported (golint)
    • Line 54: warning: exported function ResourcesToResourceLinks should have comment or be unexported (golint)
    • Line 62: warning: exported function SchemaEndpointsToRAEndpointInformations should have comment or be unexported (golint)
    • Line 76: warning: exported function SchemaPolicyToRAPolicies should have comment or be unexported (golint)
    • Line 85: warning: exported function SchemaResourceLinkToResource should have comment or be unexported (golint)
    • Line 100: warning: exported function SchemaEndpointsToProto should have comment or be unexported (golint)
    • Line 114: warning: exported function SchemaPolicyToProto should have comment or be unexported (golint)
    • Line 123: warning: exported function SchemaResourceLinksToResources should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceCreated.go
    • Line 13: warning: exported method ResourceCreated.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method ResourceCreated.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method ResourceCreated.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method ResourceCreated.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method ResourceCreated.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method ResourceCreated.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method ResourceCreated.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method ResourceCreated.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method ResourceCreated.CopyData should have comment or be unexported (golint)
    • Line 53: warning: exported method ResourceCreated.CheckInitialized should have comment or be unexported (golint)
    • cloud/test/oauth-server/test/test.go
    • Line 25: warning: exported function MakeConfig should have comment or be unexported (golint)
    • Line 42: warning: exported function SetUp should have comment or be unexported (golint)
    • Line 46: warning: exported function New should have comment or be unexported (golint)
    • Line 66: warning: exported function NewRequest should have comment or be unexported (golint)
    • Line 108: warning: exported function HTTPDo should have comment or be unexported (golint)
    • Line 127: warning: exported function GetServiceToken should have comment or be unexported (golint)
    • Line 150: warning: exported function GetDeviceAuthorizationCode should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/utils/notification/retrieveNotificationContainer.go
    • Line 9: warning: exported type RetrieveNotificationContainer should have comment or be unexported (golint)
    • Line 13: warning: exported function NewRetrieveNotificationContainer should have comment or be unexported (golint)
    • Line 17: warning: exported method RetrieveNotificationContainer.Add should have comment or be unexported (golint)
    • Line 23: warning: exported method RetrieveNotificationContainer.Find should have comment or be unexported (golint)
    • Line 31: warning: exported method RetrieveNotificationContainer.Remove should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/service/store.go
    • Line 11: warning: exported type Store should have comment or be unexported (golint)
    • Line 49: warning: exported function NewStore should have comment or be unexported (golint)
    • Line 71: warning: exported method Store.LoadOrCreateCloud should have comment or be unexported (golint)
    • Line 80: warning: exported method Store.LoadCloud should have comment or be unexported (golint)
    • Line 84: warning: exported method Store.LoadOrCreateLinkedAccount should have comment or be unexported (golint)
    • Line 92: warning: exported method Store.UpdateLinkedAccount should have comment or be unexported (golint)
    • Line 100: warning: exported method Store.LoadOrCreateSubscription should have comment or be unexported (golint)
    • Line 104: warning: exported method Store.LoadSubscription should have comment or be unexported (golint)
    • Line 108: warning: exported method Store.LoadDevicesSubscription should have comment or be unexported (golint)
    • Line 112: warning: exported method Store.LoadDeviceSubscription should have comment or be unexported (golint)
    • Line 116: warning: exported method Store.LoadResourceSubscription should have comment or be unexported (golint)
    • Line 120: warning: exported method Store.Dump should have comment or be unexported (golint)
    • Line 124: warning: exported method Store.PullOutSubscription should have comment or be unexported (golint)
    • Line 128: warning: exported method Store.PullOutCloud should have comment or be unexported (golint)
    • Line 136: warning: exported method Store.PullOutLinkedAccount should have comment or be unexported (golint)
    • Line 144: warning: exported method Store.PullOutDevice should have comment or be unexported (golint)
    • Line 148: warning: exported method Store.PullOutResource should have comment or be unexported (golint)
    • Line 152: warning: exported method Store.DumpLinkedAccounts should have comment or be unexported (golint)
    • Line 156: warning: exported method Store.DumpDevices should have comment or be unexported (golint)
    • Line 160: warning: exported method Store.DumpTasks should have comment or be unexported (golint)
    • cloud/resource-aggregate/commands/utils.go
    • Line 13: warning: exported const ResourceLinksHref should have comment or be unexported (golint)
    • Line 14: warning: exported const StatusHref should have comment or be unexported (golint)
    • Line 34: warning: exported function MakeLinksResourceUUID should have comment or be unexported (golint)
    • Line 38: warning: exported function MakeStatusResourceUUID should have comment or be unexported (golint)
    • Line 42: warning: exported function NewResourceID should have comment or be unexported (golint)
    • Line 46: warning: exported method Resource.IsObservable should have comment or be unexported (golint)
    • Line 50: warning: exported function NewAuditContext should have comment or be unexported (golint)
    • Line 85: warning: exported function HTTPStatus2Status should have comment or be unexported (golint)
    • Line 122: warning: exported method Status.ToGrpcCode should have comment or be unexported (golint)
    • Line 130: warning: exported method Status.ToHTTPCode should have comment or be unexported (golint)
    • Line 138: warning: exported method ResourceId.ToString should have comment or be unexported (golint)
    • Line 155: warning: exported function ResourceIdFromString should have comment or be unexported (golint)
    • cloud/pkg/net/grpc/client/client.go
    • Line 13: warning: comment on exported type Client should be of the form "Client ..." (with optional leading article) (golint)
    • Line 19: warning: exported method Client.GRPC should have comment or be unexported (golint)
    • Line 25: warning: receiver name s should be consistent with previous receiver name c for Client (golint)
    • Line 29: warning: exported method Client.Close should have comment or be unexported (golint)
    • Line 29: warning: receiver name s should be consistent with previous receiver name c for Client (golint)
    • Line 37: warning: exported function New should have comment or be unexported (golint)
    • cloud/pkg/net/grpc/stream.go
    • Line 9: warning: exported function NewIterator should have comment or be unexported (golint)
    • Line 16: warning: exported type Iterator should have comment or be unexported (golint)
    • Line 21: warning: exported method Iterator.Next should have comment or be unexported (golint)
    • Line 38: warning: exported method Iterator.Close should have comment or be unexported (golint)
    • cloud/grpc-gateway/client/observeDevices.go
    • Line 12: warning: don't use underscores in Go names; type DevicesObservationEvent_type should be DevicesObservationEventType (golint)
    • Line 12: warning: exported type DevicesObservationEvent_type should have comment or be unexported (golint)
    • Line 14: warning: don't use underscores in Go names; const DevicesObservationEvent_ONLINE should be DevicesObservationEventONLINE (golint)
    • Line 14: warning: exported const DevicesObservationEvent_ONLINE should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; const DevicesObservationEvent_OFFLINE should be DevicesObservationEventOFFLINE (golint)
    • Line 15: warning: exported const DevicesObservationEvent_OFFLINE should have comment or be unexported (golint)
    • Line 16: warning: don't use underscores in Go names; const DevicesObservationEvent_REGISTERED should be DevicesObservationEventREGISTERED (golint)
    • Line 16: warning: exported const DevicesObservationEvent_REGISTERED should have comment or be unexported (golint)
    • Line 17: warning: don't use underscores in Go names; const DevicesObservationEvent_UNREGISTERED should be DevicesObservationEventUNREGISTERED (golint)
    • Line 17: warning: exported const DevicesObservationEvent_UNREGISTERED should have comment or be unexported (golint)
    • Line 19: warning: exported type DevicesObservationEvent should have comment or be unexported (golint)
    • Line 24: warning: exported type DevicesObservationHandler should have comment or be unexported (golint)
    • Line 72: warning: exported method Client.ObserveDevices should have comment or be unexported (golint)
    • Line 101: warning: exported method Client.StopObservingDevices should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/service/addLinkedAccount.go
    • Line 15: warning: exported type LinkedCloudHandler should have comment or be unexported (golint)
    • Line 20: warning: exported method LinkedCloudHandler.Handle should have comment or be unexported (golint)
    • Line 38: warning: exported method RequestHandler.HandleOAuth should have comment or be unexported (golint)
    • Line 84: warning: exported method RequestHandler.AddLinkedAccount should have comment or be unexported (golint)
    • cloud/pkg/net/http/auth.go
    • Line 14: warning: exported type Claims should have comment or be unexported (golint)
    • Line 15: warning: exported type ClaimsFunc should have comment or be unexported (golint)
    • Line 16: warning: exported type OnUnauthorizedAccessFunc should have comment or be unexported (golint)
    • Line 17: warning: exported type Validator should have comment or be unexported (golint)
    • Line 29: warning: exported function CtxWithToken should have comment or be unexported (golint)
    • Line 36: warning: exported function TokenFromCtx should have comment or be unexported (golint)
    • Line 48: warning: exported function ValidateJWTWithValidator should have comment or be unexported (golint)
    • Line 62: warning: exported function ValidateJWT should have comment or be unexported (golint)
    • cloud/resource-directory/service/resource.go
    • Line 10: warning: exported type Resource should have comment or be unexported (golint)
    • Line 15: warning: exported method Resource.GetResourceChanged should have comment or be unexported (golint)
    • Line 25: warning: exported method Resource.GetContent should have comment or be unexported (golint)
    • Line 32: warning: exported method Resource.GetStatus should have comment or be unexported (golint)
    • Line 39: warning: exported method Resource.OnResourceUpdatePendingLocked should have comment or be unexported (golint)
    • Line 46: warning: exported method Resource.OnResourceRetrievePendingLocked should have comment or be unexported (golint)
    • Line 53: warning: exported method Resource.OnResourceDeletePendingLocked should have comment or be unexported (golint)
    • Line 60: warning: exported method Resource.OnResourceCreatePendingLocked should have comment or be unexported (golint)
    • Line 67: warning: exported method Resource.OnResourceChangedLocked should have comment or be unexported (golint)
    • cloud/resource-directory/service/resourceShadow.go
    • Line 24: warning: exported type ResourceShadow should have comment or be unexported (golint)
    • Line 29: warning: exported function NewResourceShadow should have comment or be unexported (golint)
    • Line 73: warning: exported method ResourceShadow.GetResources should have comment or be unexported (golint)
    • Line 95: warning: exported method ResourceShadow.GetPendingCommands should have comment or be unexported (golint)
    • Line 162: warning: exported method ResourceShadow.GetDevicesMetadata should have comment or be unexported (golint)
    • cloud/resource-directory/service/subscriptions.go
    • Line 20: warning: exported type Subscriber should have comment or be unexported (golint)
    • Line 27: warning: exported type Subscriptions should have comment or be unexported (golint)
    • Line 38: warning: exported type SendEventFunc should have comment or be unexported (golint)
    • Line 40: warning: exported function NewSubscriptions should have comment or be unexported (golint)
    • Line 91: warning: exported method Subscriptions.UserDevicesChanged should have comment or be unexported (golint)
    • Line 119: warning: exported method Subscriptions.Get should have comment or be unexported (golint)
    • Line 128: warning: exported method Subscriptions.Pop should have comment or be unexported (golint)
    • Line 165: warning: exported method Subscriptions.Close should have comment or be unexported (golint)
    • Line 169: warning: exported method Subscriptions.Insertsubscription should have comment or be unexported (golint)
    • Line 192: warning: exported method Subscriptions.OnResourceLinksPublished should have comment or be unexported (golint)
    • Line 213: warning: exported method Subscriptions.OnResourceLinksUnpublished should have comment or be unexported (golint)
    • Line 234: warning: exported method Subscriptions.OnResourceUpdatePending should have comment or be unexported (golint)
    • Line 255: warning: exported method Subscriptions.OnResourceUpdated should have comment or be unexported (golint)
    • Line 276: warning: exported method Subscriptions.OnResourceRetrievePending should have comment or be unexported (golint)
    • Line 297: warning: exported method Subscriptions.OnResourceDeletePending should have comment or be unexported (golint)
    • Line 318: warning: exported method Subscriptions.OnResourceCreatePending should have comment or be unexported (golint)
    • Line 339: warning: exported method Subscriptions.OnResourceRetrieved should have comment or be unexported (golint)
    • Line 360: warning: exported method Subscriptions.OnResourceDeleted should have comment or be unexported (golint)
    • Line 381: warning: exported method Subscriptions.OnResourceCreated should have comment or be unexported (golint)
    • Line 402: warning: exported method Subscriptions.OnResourceContentChanged should have comment or be unexported (golint)
    • Line 424: warning: exported method Subscriptions.SubscribeForDevicesEvent should have comment or be unexported (golint)
    • Line 452: warning: exported method Subscriptions.SubscribeToEvents should have comment or be unexported (golint)
    • Line 564: warning: exported method Subscriptions.OnDeviceMetadataUpdatePending should have comment or be unexported (golint)
    • Line 585: warning: exported method Subscriptions.OnDeviceMetadataUpdated should have comment or be unexported (golint)
    • cloud/coap-gateway/service/auth.go
    • Line 14: warning: exported type Interceptor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewAuthInterceptor should have comment or be unexported (golint)
    • Line 33: warning: exported method Service.ValidateToken should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/service/taskProcessor.go
    • Line 16: warning: exported type TaskType should have comment or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; const TaskType_PullDevice should be TaskTypePullDevice (golint)
    • Line 19: warning: exported const TaskType_PullDevice should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; const TaskType_SubscribeToDevices should be TaskTypeSubscribeToDevices (golint)
    • Line 21: warning: don't use underscores in Go names; const TaskType_SubscribeToDevice should be TaskTypeSubscribeToDevice (golint)
    • Line 22: warning: don't use underscores in Go names; const TaskType_SubscribeToResource should be TaskTypeSubscribeToResource (golint)
    • Line 25: warning: exported type Task should have comment or be unexported (golint)
    • Line 33: warning: exported type TaskProcessor should have comment or be unexported (golint)
    • Line 43: warning: exported function NewTaskProcessor should have comment or be unexported (golint)
    • Line 55: warning: exported method TaskProcessor.Trigger should have comment or be unexported (golint)
    • Line 137: warning: exported method TaskProcessor.Run should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/eventstore/mongodb/eventstore.go
    • Line 78: warning: don't use underscores in Go names; const signOperator_gte should be signOperatorGte (golint)
    • Line 79: warning: don't use underscores in Go names; const signOperator_lt should be signOperatorLt (golint)
    • Line 82: warning: exported type LogDebugfFunc should have comment or be unexported (golint)
    • Line 103: warning: exported method EventStore.AddCloseFunc should have comment or be unexported (golint)
    • Line 107: warning: exported function New should have comment or be unexported (golint)
    • Line 309: warning: comment on exported method EventStore.ClearCollections should be of the form "ClearCollections ..." (golint)
    • cloud/coap-gateway/authorization/oauth/oauth.go
    • Line 7: warning: exported type AuthStyle should have comment or be unexported (golint)
    • Line 25: warning: exported method AuthStyle.ToOAuth2 should have comment or be unexported (golint)
    • Line 35: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 48: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 52: warning: exported method Config.ToOAuth2 should have comment or be unexported (golint)
    • Line 66: warning: exported method Config.AuthCodeURL should have comment or be unexported (golint)
    • cloud/pkg/strings/slice.go
    • Line 3: warning: comment on exported function Intersection should be of the form "Intersection ..." (golint)
    • Line 23: warning: exported type SplitFilter should have comment or be unexported (golint)
    • Line 42: warning: comment on exported function Unique should be of the form "Unique ..." (golint)
    • cloud/pkg/net/http/interceptor.go
    • Line 13: warning: exported type Interceptor should have comment or be unexported (golint)
    • Line 15: warning: exported type AuthArgs should have comment or be unexported (golint)
    • Line 26: warning: comment on exported function NewInterceptorWithValidator should be of the form "NewInterceptorWithValidator ..." (golint)
    • Line 52: warning: exported function MakeClaimsFunc should have comment or be unexported (golint)
    • Line 67: warning: exported type DeniedClaims should have comment or be unexported (golint)
    • Line 71: warning: exported method DeniedClaims.Valid should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceCreatePending.go
    • Line 12: warning: exported method ResourceCreatePending.Version should have comment or be unexported (golint)
    • Line 16: warning: exported method ResourceCreatePending.Marshal should have comment or be unexported (golint)
    • Line 20: warning: exported method ResourceCreatePending.Unmarshal should have comment or be unexported (golint)
    • Line 24: warning: exported method ResourceCreatePending.EventType should have comment or be unexported (golint)
    • Line 28: warning: exported method ResourceCreatePending.AggregateID should have comment or be unexported (golint)
    • Line 32: warning: exported method ResourceCreatePending.GroupID should have comment or be unexported (golint)
    • Line 36: warning: exported method ResourceCreatePending.IsSnapshot should have comment or be unexported (golint)
    • Line 40: warning: exported method ResourceCreatePending.Timestamp should have comment or be unexported (golint)
    • Line 44: warning: exported method ResourceCreatePending.CopyData should have comment or be unexported (golint)
    • Line 51: warning: exported method ResourceCreatePending.CheckInitialized should have comment or be unexported (golint)
    • Line 58: warning: exported method ResourceCreatePending.ValidUntilTime should have comment or be unexported (golint)
    • Line 62: warning: exported method ResourceCreatePending.IsExpired should have comment or be unexported (golint)
    • cloud/pkg/security/jwt/claims.go
    • Line 10: warning: exported type Claims should have comment or be unexported (golint)
    • Line 17: warning: exported method Claims.GetScope should have comment or be unexported (golint)
    • Line 21: warning: comment on exported type StandardClaims should be of the form "StandardClaims ..." (with optional leading article) (golint)
    • Line 32: warning: exported method StandardClaims.GetAudience should have comment or be unexported (golint)
    • Line 36: warning: exported method StandardClaims.Valid should have comment or be unexported (golint)
    • Line 52: warning: exported function SetTimeFunc should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/service/retrieveDevice.go
    • Line 22: warning: exported type RetrieveDeviceWithLinksResponse should have comment or be unexported (golint)
    • Line 31: warning: exported method RequestHandler.GetResourceLinks should have comment or be unexported (golint)
    • Line 72: warning: exported type Representation should have comment or be unexported (golint)
    • Line 78: warning: exported type RetrieveDeviceAllResponse should have comment or be unexported (golint)
    • Line 106: warning: exported method RequestHandler.RetrieveResources should have comment or be unexported (golint)
    • Line 157: warning: exported method RequestHandler.RetrieveDeviceWithLinks should have comment or be unexported (golint)
    • Line 179: warning: exported type RetrieveDeviceContentAllResponse should have comment or be unexported (golint)
    • Line 184: warning: exported method RequestHandler.RetrieveDeviceWithRepresentations should have comment or be unexported (golint)
    • Line 206: warning: exported method RequestHandler.RetrieveDeviceWithContentQuery should have comment or be unexported (golint)
    • Line 216: warning: exported method RequestHandler.RetrieveDevice should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/service/deviceSubscriptionHandlers.go
    • Line 56: warning: exported type DevicesSubscription should have comment or be unexported (golint)
    • Line 65: warning: exported function NewDevicesSubscription should have comment or be unexported (golint)
    • Line 80: warning: exported method DevicesSubscription.Add should have comment or be unexported (golint)
    • Line 125: warning: exported method DevicesSubscription.Delete should have comment or be unexported (golint)
    • cloud/test/config/config.go
    • Line 23: warning: exported const AUTH_HOST should have comment or be unexported (golint)
    • Line 24: warning: exported const AUTH_HTTP_HOST should have comment or be unexported (golint)
    • Line 25: warning: exported const GW_HOST should have comment or be unexported (golint)
    • Line 26: warning: exported const RESOURCE_AGGREGATE_HOST should have comment or be unexported (golint)
    • Line 27: warning: exported const RESOURCE_DIRECTORY_HOST should have comment or be unexported (golint)
    • Line 28: warning: exported const CERTIFICATE_AUTHORITY_HOST should have comment or be unexported (golint)
    • Line 29: warning: exported const GRPC_HOST should have comment or be unexported (golint)
    • Line 30: warning: exported const C2C_CONNECTOR_HOST should have comment or be unexported (golint)
    • Line 31: warning: exported const C2C_GW_HOST should have comment or be unexported (golint)
    • Line 32: warning: exported const OAUTH_SERVER_HOST should have comment or be unexported (golint)
    • Line 33: warning: exported const TEST_TIMEOUT should have comment or be unexported (golint)
    • Line 34: warning: exported const OAUTH_MANAGER_CLIENT_ID should have comment or be unexported (golint)
    • Line 35: warning: exported const OAUTH_MANAGER_AUDIENCE should have comment or be unexported (golint)
    • Line 36: warning: exported const HTTP_GW_HOST should have comment or be unexported (golint)
    • Line 38: warning: exported var CA_POOL should have comment or be unexported (golint)
    • Line 39: warning: exported var KEY_FILE should have comment or be unexported (golint)
    • Line 40: warning: exported var CERT_FILE should have comment or be unexported (golint)
    • Line 41: warning: exported var MONGODB_URI should have comment or be unexported (golint)
    • Line 42: warning: exported var NATS_URL should have comment or be unexported (golint)
    • Line 43: warning: exported var OWNER_CLAIM should have comment or be unexported (golint)
    • Line 45: warning: exported var OAUTH_MANAGER_ENDPOINT_AUTHURL should have comment or be unexported (golint)
    • Line 46: warning: exported var OAUTH_MANAGER_ENDPOINT_TOKENURL should have comment or be unexported (golint)
    • Line 47: warning: exported var C2C_CONNECTOR_EVENTS_URL should have comment or be unexported (golint)
    • Line 48: warning: exported var C2C_CONNECTOR_OAUTH_CALLBACK should have comment or be unexported (golint)
    • Line 49: warning: exported var JWKS_URL should have comment or be unexported (golint)
    • Line 51: warning: exported function MakeTLSClientConfig should have comment or be unexported (golint)
    • Line 59: warning: exported function MakeGrpcClientConfig should have comment or be unexported (golint)
    • Line 71: warning: exported function MakeTLSServerConfig should have comment or be unexported (golint)
    • Line 80: warning: exported function MakeGrpcServerConfig should have comment or be unexported (golint)
    • Line 92: warning: exported function MakeListenerConfig should have comment or be unexported (golint)
    • Line 99: warning: exported function MakeHttpClientConfig should have comment or be unexported (golint)
    • Line 110: warning: exported function MakePublisherConfig should have comment or be unexported (golint)
    • Line 117: warning: exported function MakeSubscriberConfig should have comment or be unexported (golint)
    • Line 128: warning: exported function MakeEventsStoreMongoDBConfig should have comment or be unexported (golint)
    • Line 139: warning: exported function MakeAuthorizationConfig should have comment or be unexported (golint)
    • Line 147: warning: exported function MakeOAuthConfig should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceDeleted.go
    • Line 13: warning: exported method ResourceDeleted.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method ResourceDeleted.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method ResourceDeleted.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method ResourceDeleted.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method ResourceDeleted.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method ResourceDeleted.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method ResourceDeleted.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method ResourceDeleted.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method ResourceDeleted.CopyData should have comment or be unexported (golint)
    • Line 53: warning: exported method ResourceDeleted.CheckInitialized should have comment or be unexported (golint)
    • cloud/pkg/net/listener/server.go
    • Line 19: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 41: warning: exported method Server.Close should have comment or be unexported (golint)
    • Line 49: warning: exported method Server.Accept should have comment or be unexported (golint)
    • Line 53: warning: exported method Server.Addr should have comment or be unexported (golint)
    • cloud/test/pb/events.go
    • Line 11: warning: exported function GetWrappedEvent should have comment or be unexported (golint)
    • Line 63: warning: exported function CheckGetEventsResponse should have comment or be unexported (golint)
    • cloud/pkg/config/load.go
    • Line 10: warning: exported type ConfigPath should have comment or be unexported (golint)
    • Line 14: warning: exported type Validator should have comment or be unexported (golint)
    • Line 18: warning: exported function LoadAndValidateConfig should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/store/mongodb/subscription.go
    • Line 42: warning: exported type DBSub should have comment or be unexported (golint)
    • Line 74: warning: exported method Store.SaveSubscription should have comment or be unexported (golint)
    • Line 123: warning: exported method Store.IncrementSubscriptionSequenceNumber should have comment or be unexported (golint)
    • Line 133: warning: exported method Store.SetInitialized should have comment or be unexported (golint)
    • Line 149: warning: exported method Store.PopSubscription should have comment or be unexported (golint)
    • Line 162: warning: exported method Store.LoadSubscriptions should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/utils/notification/updateNotificationContainer.go
    • Line 9: warning: exported type UpdateNotificationContainer should have comment or be unexported (golint)
    • Line 13: warning: exported function NewUpdateNotificationContainer should have comment or be unexported (golint)
    • Line 17: warning: exported method UpdateNotificationContainer.Add should have comment or be unexported (golint)
    • Line 23: warning: exported method UpdateNotificationContainer.Find should have comment or be unexported (golint)
    • Line 31: warning: exported method UpdateNotificationContainer.Remove should have comment or be unexported (golint)
    • cloud/resource-aggregate/cqrs/eventstore/test/events.go
    • Line 17: warning: exported function MakeResourceLinksPublishedEvent should have comment or be unexported (golint)
    • Line 43: warning: exported function MakeResourceLinksUnpublishedEvent should have comment or be unexported (golint)
    • Line 69: warning: exported function MakeResourceLinksSnapshotTaken should have comment or be unexported (golint)
    • Line 92: warning: exported function MakeAuditContext should have comment or be unexported (golint)
    • Line 99: warning: exported function MakeResourceUpdatePending should have comment or be unexported (golint)
    • Line 123: warning: exported function MakeResourceUpdated should have comment or be unexported (golint)
    • Line 148: warning: exported function MakeResourceChangedEvent should have comment or be unexported (golint)
    • Line 172: warning: exported function MakeResourceRetrievePending should have comment or be unexported (golint)
    • Line 196: warning: exported function MakeResourceRetrieved should have comment or be unexported (golint)
    • Line 221: warning: exported function MakeResourceStateSnapshotTaken should have comment or be unexported (golint)
    • Line 245: warning: exported function MakeDeviceMetadata should have comment or be unexported (golint)
    • Line 268: warning: exported type MockEvent should have comment or be unexported (golint)
    • Line 278: warning: exported method MockEvent.Version should have comment or be unexported (golint)
    • Line 282: warning: exported method MockEvent.EventType should have comment or be unexported (golint)
    • Line 286: warning: exported method MockEvent.AggregateID should have comment or be unexported (golint)
    • Line 290: warning: exported method MockEvent.GroupID should have comment or be unexported (golint)
    • Line 294: warning: exported method MockEvent.IsSnapshot should have comment or be unexported (golint)
    • Line 298: warning: exported method MockEvent.Timestamp should have comment or be unexported (golint)
    • Line 302: warning: exported type MockEventHandler should have comment or be unexported (golint)
    • Line 307: warning: exported function NewMockEventHandler should have comment or be unexported (golint)
    • Line 311: warning: exported method MockEventHandler.SetElement should have comment or be unexported (golint)
    • Line 324: warning: exported method MockEventHandler.Contains should have comment or be unexported (golint)
    • Line 343: warning: exported method MockEventHandler.ContainsGroupID should have comment or be unexported (golint)
    • Line 348: warning: exported method MockEventHandler.Equals should have comment or be unexported (golint)
    • Line 376: warning: exported method MockEventHandler.Handle should have comment or be unexported (golint)
    • Line 401: warning: exported method MockEventHandler.SnapshotEventType should have comment or be unexported (golint)
    • Line 403: warning: exported method MockEventHandler.Count should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceUpdatePending.go
    • Line 12: warning: exported method ResourceUpdatePending.Version should have comment or be unexported (golint)
    • Line 16: warning: exported method ResourceUpdatePending.Marshal should have comment or be unexported (golint)
    • Line 20: warning: exported method ResourceUpdatePending.Unmarshal should have comment or be unexported (golint)
    • Line 24: warning: exported method ResourceUpdatePending.EventType should have comment or be unexported (golint)
    • Line 28: warning: exported method ResourceUpdatePending.AggregateID should have comment or be unexported (golint)
    • Line 32: warning: exported method ResourceUpdatePending.GroupID should have comment or be unexported (golint)
    • Line 36: warning: exported method ResourceUpdatePending.IsSnapshot should have comment or be unexported (golint)
    • Line 40: warning: exported method ResourceUpdatePending.Timestamp should have comment or be unexported (golint)
    • Line 44: warning: exported method ResourceUpdatePending.CopyData should have comment or be unexported (golint)
    • Line 52: warning: exported method ResourceUpdatePending.CheckInitialized should have comment or be unexported (golint)
    • Line 60: warning: exported method ResourceUpdatePending.ValidUntilTime should have comment or be unexported (golint)
    • Line 64: warning: exported method ResourceUpdatePending.IsExpired should have comment or be unexported (golint)
    • cloud/resource-aggregate/service/grpcApi.go
    • Line 44: warning: exported function PublishEvents should have comment or be unexported (golint)
    • Line 99: warning: exported method RequestHandler.PublishResourceLinks should have comment or be unexported (golint)
    • Line 140: warning: exported method RequestHandler.UnpublishResourceLinks should have comment or be unexported (golint)
    • Line 181: warning: exported method RequestHandler.NotifyResourceChanged should have comment or be unexported (golint)
    • Line 206: warning: exported method RequestHandler.UpdateResource should have comment or be unexported (golint)
    • Line 243: warning: exported method RequestHandler.ConfirmResourceUpdate should have comment or be unexported (golint)
    • Line 268: warning: exported method RequestHandler.RetrieveResource should have comment or be unexported (golint)
    • Line 305: warning: exported method RequestHandler.ConfirmResourceRetrieve should have comment or be unexported (golint)
    • Line 331: warning: exported method RequestHandler.DeleteResource should have comment or be unexported (golint)
    • Line 368: warning: exported method RequestHandler.ConfirmResourceDelete should have comment or be unexported (golint)
    • Line 395: warning: exported method RequestHandler.CreateResource should have comment or be unexported (golint)
    • Line 432: warning: exported method RequestHandler.ConfirmResourceCreate should have comment or be unexported (golint)
    • cloud/authorization/events/utils.go
    • Line 3: warning: exported function GetOwnerSubject should have comment or be unexported (golint)
    • Line 7: warning: exported function GetDevicesRegisteredSubject should have comment or be unexported (golint)
    • Line 11: warning: exported function GetDevicesUnregisteredSubject should have comment or be unexported (golint)
    • cloud/http-gateway/uri/uri.go
    • Line 6: warning: exported const DeviceIDKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: comment on exported const ClientConfiguration should be of the form "ClientConfiguration ..." (golint)
    • Line 47: warning: comment on exported const OAuthConfiguration should be of the form "OAuthConfiguration ..." (golint)
    • Line 50: warning: comment on exported const CertificaAuthority should be of the form "CertificaAuthority ..." (golint)
    • Line 54: warning: comment on exported const Devices should be of the form "Devices ..." (golint)
    • Line 57: warning: comment on exported const AliasDevice should be of the form "AliasDevice ..." (golint)
    • Line 61: warning: comment on exported const ResourceLinks should be of the form "ResourceLinks ..." (golint)
    • Line 63: warning: comment on exported const AliasDeviceResourceLinks should be of the form "AliasDeviceResourceLinks ..." (golint)
    • Line 68: warning: comment on exported const DevicesMetadata should be of the form "DevicesMetadata ..." (golint)
    • Line 71: warning: comment on exported const DeviceMetadata should be of the form "DeviceMetadata ..." (golint)
    • Line 74: warning: comment on exported const AliasDeviceResource should be of the form "AliasDeviceResource ..." (golint)
    • Line 78: warning: comment on exported const DeviceResourceLink should be of the form "DeviceResourceLink ..." (golint)
    • Line 82: warning: comment on exported const AliasDeviceResources should be of the form "AliasDeviceResources ..." (golint)
    • Line 85: warning: comment on exported const PendingCommands should be of the form "PendingCommands ..." (golint)
    • Line 89: warning: comment on exported const AliasDevicePendingCommands should be of the form "AliasDevicePendingCommands ..." (golint)
    • Line 92: warning: comment on exported const AliasDevicePendingMetadataUpdates should be of the form "AliasDevicePendingMetadataUpdates ..." (golint)
    • Line 95: warning: comment on exported const AliasDevicePendingMetadataUpdate should be of the form "AliasDevicePendingMetadataUpdate ..." (golint)
    • Line 98: warning: comment on exported const AliasResourcePendingCommands should be of the form "AliasResourcePendingCommands ..." (golint)
    • Line 102: warning: comment on exported const Events should be of the form "Events ..." (golint)
    • Line 106: warning: comment on exported const AliasDeviceEvents should be of the form "AliasDeviceEvents ..." (golint)
    • Line 110: warning: comment on exported const AliasResourceEvents should be of the form "AliasResourceEvents ..." (golint)
    • Line 115: warning: exported var QueryCaseInsensitive should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/store/store.go
    • Line 7: warning: exported type Query should have comment or be unexported (golint)
    • Line 12: warning: exported type LinkedAccountIter should have comment or be unexported (golint)
    • Line 17: warning: exported type LinkedAccountHandler should have comment or be unexported (golint)
    • Line 21: warning: exported type LinkedCloudIter should have comment or be unexported (golint)
    • Line 26: warning: exported type LinkedCloudHandler should have comment or be unexported (golint)
    • Line 30: warning: exported type Store should have comment or be unexported (golint)
    • cloud/cloud2cloud-gateway/service/retrieveDevices.go
    • Line 20: warning: exported type Status should have comment or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; const Status_ONLINE should be StatusONLINE (golint)
    • Line 22: warning: exported const Status_ONLINE should have comment or be unexported (golint)
    • Line 23: warning: don't use underscores in Go names; const Status_OFFLINE should be StatusOFFLINE (golint)
    • Line 23: warning: exported const Status_OFFLINE should have comment or be unexported (golint)
    • Line 34: warning: exported type Device should have comment or be unexported (golint)
    • Line 39: warning: exported method RequestHandler.GetDevices should have comment or be unexported (golint)
    • Line 74: warning: exported method RequestHandler.RetrieveDevicesBase should have comment or be unexported (golint)
    • Line 102: warning: exported method RequestHandler.RetrieveDevicesAll should have comment or be unexported (golint)
    • Line 130: warning: exported method RequestHandler.RetrieveDevicesWithContentQuery should have comment or be unexported (golint)
    • Line 169: warning: exported method RequestHandler.RetrieveDevices should have comment or be unexported (golint)
    • cloud/test/test.go
    • Line 61: warning: exported var TestDeviceName should have comment or be unexported (golint)
    • Line 118: warning: exported function FindResourceLink should have comment or be unexported (golint)
    • Line 132: warning: exported function ClearDB should have comment or be unexported (golint)
    • Line 168: warning: exported type Config should have comment or be unexported (golint)
    • Line 174: warning: exported function WithCOAPGWConfig should have comment or be unexported (golint)
    • Line 180: warning: exported function WithRDConfig should have comment or be unexported (golint)
    • Line 186: warning: exported function WithGRPCGWConfig should have comment or be unexported (golint)
    • Line 192: warning: exported type SetUpOption should have comment or be unexported (golint)
    • Line 194: warning: exported function SetUp should have comment or be unexported (golint)
    • Line 265: warning: exported function OnboardDevSim should have comment or be unexported (golint)
    • Line 502: warning: exported function GetRootCertificatePool should have comment or be unexported (golint)
    • Line 511: warning: exported function GetRootCertificateAuthorities should have comment or be unexported (golint)
    • Line 529: warning: exported function MustGetHostname should have comment or be unexported (golint)
    • Line 537: warning: exported function MustFindDeviceByName should have comment or be unexported (golint)
    • Line 578: warning: exported function FindDeviceByName should have comment or be unexported (golint)
    • Line 600: warning: exported function DecodeCbor should have comment or be unexported (golint)
    • Line 607: warning: exported function EncodeToCbor should have comment or be unexported (golint)
    • Line 613: warning: exported function ResourceLinkToPublishEvent should have comment or be unexported (golint)
    • Line 631: warning: exported function ResourceLinkToResourceChangedEvent should have comment or be unexported (golint)
    • Line 645: warning: exported function ResourceLinksToExpectedResourceChangedEvents should have comment or be unexported (golint)
    • Line 653: warning: exported function GetAllBackendResourceLinks should have comment or be unexported (golint)
    • Line 657: warning: exported function ResourceLinksToResources should have comment or be unexported (golint)
    • Line 667: warning: exported function CleanUpResourcesArray should have comment or be unexported (golint)
    • Line 675: warning: exported function CleanUpResourceLinksSnapshotTaken should have comment or be unexported (golint)
    • Line 683: warning: exported function CleanUpResourceLinksPublished should have comment or be unexported (golint)
    • Line 689: warning: exported type SortResourcesByHref should have comment or be unexported (golint)
    • Line 697: warning: exported function SortResources should have comment or be unexported (golint)
    • Line 703: warning: exported function NewHTTPRequest should have comment or be unexported (golint)
    • Line 715: warning: exported type HTTPRequestBuilder should have comment or be unexported (golint)
    • Line 724: warning: exported method HTTPRequestBuilder.AuthToken should have comment or be unexported (golint)
    • Line 729: warning: exported method HTTPRequestBuilder.AddQuery should have comment or be unexported (golint)
    • Line 734: warning: exported method HTTPRequestBuilder.AddHeader should have comment or be unexported (golint)
    • Line 739: warning: exported method HTTPRequestBuilder.Build should have comment or be unexported (golint)
    • Line 764: warning: exported function DoHTTPRequest should have comment or be unexported (golint)
    • Line 777: warning: exported function ProtobufToInterface should have comment or be unexported (golint)
    • Line 786: warning: exported function RequireToCheckFunc should have comment or be unexported (golint)
    • Line 792: warning: exported function AssertToCheckFunc should have comment or be unexported (golint)
    • Line 798: warning: exported function CheckProtobufs should have comment or be unexported (golint)
    • Line 804: warning: exported function NATSSStart should have comment or be unexported (golint)
    • Line 809: warning: exported function NATSSStop should have comment or be unexported (golint)
    • cloud/grpc-gateway/client/options.go
    • Line 15: warning: exported type ResourceInterfaceOption should have comment or be unexported (golint)
    • Line 33: warning: exported type SkipShadowOption should have comment or be unexported (golint)
    • Line 66: warning: comment on exported type GetDevicesOption should be of the form "GetDevicesOption ..." (with optional leading article) (golint)
    • Line 76: warning: exported function WithDeviceIDs should have comment or be unexported (golint)
    • Line 82: warning: exported type DeviceIDsOption should have comment or be unexported (golint)
    • Line 96: warning: exported function WithResourceTypes should have comment or be unexported (golint)
    • Line 102: warning: exported type ResourceTypesOption should have comment or be unexported (golint)
    • Line 111: warning: exported function WithCodec should have comment or be unexported (golint)
    • Line 117: warning: exported type CodecOption should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/events/event.go
    • Line 19: warning: exported const CorrelationIDKey should have comment or be unexported (golint)
    • Line 20: warning: exported const SubscriptionIDKey should have comment or be unexported (golint)
    • Line 21: warning: exported const ContentTypeKey should have comment or be unexported (golint)
    • Line 22: warning: exported const AcceptKey should have comment or be unexported (golint)
    • Line 23: warning: exported const EventTypeKey should have comment or be unexported (golint)
    • Line 24: warning: exported const SequenceNumberKey should have comment or be unexported (golint)
    • Line 25: warning: exported const EventTimestampKey should have comment or be unexported (golint)
    • Line 26: warning: exported const EventSignatureKey should have comment or be unexported (golint)
    • Line 27: warning: exported const AcceptEncodingKey should have comment or be unexported (golint)
    • Line 28: warning: exported const ContentEncodingKey should have comment or be unexported (golint)
    • Line 30: warning: don't use underscores in Go names; var ContentType_JSON should be ContentTypeJSON (golint)
    • Line 30: warning: exported var ContentType_JSON should have comment or be unexported (golint)
    • Line 31: warning: don't use underscores in Go names; var ContentType_VNDOCFCBOR should be ContentTypeVNDOCFCBOR (golint)
    • Line 31: warning: exported var ContentType_VNDOCFCBOR should have comment or be unexported (golint)
    • Line 33: warning: exported type EventHeader should have comment or be unexported (golint)
    • Line 45: warning: exported function ParseEventHeader should have comment or be unexported (golint)
    • Line 121: warning: exported method EventHeader.GetContentDecoder should have comment or be unexported (golint)
    • Line 136: warning: exported function CalculateEventSignature should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/service/subscriptions.go
    • Line 22: warning: exported const AuthorizationHeader should have comment or be unexported (golint)
    • Line 23: warning: exported const AcceptHeader should have comment or be unexported (golint)
    • Line 25: warning: exported type Type should have comment or be unexported (golint)
    • Line 28: warning: don't use underscores in Go names; const Type_Devices should be TypeDevices (golint)
    • Line 28: warning: exported const Type_Devices should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: don't use underscores in Go names; const Type_Device should be TypeDevice (golint)
    • Line 30: warning: don't use underscores in Go names; const Type_Resource should be TypeResource (golint)
    • Line 33: warning: exported type Subscription should have comment or be unexported (golint)
    • Line 44: warning: exported type SubscriptionManager should have comment or be unexported (golint)
    • Line 56: warning: exported function NewSubscriptionManager should have comment or be unexported (golint)
    • Line 154: warning: exported method SubscriptionManager.HandleEvent should have comment or be unexported (golint)
    • Line 218: warning: exported type LinkedAccountHandler should have comment or be unexported (golint)
    • Line 222: warning: exported method LinkedAccountHandler.Handle should have comment or be unexported (golint)
    • Line 236: warning: exported method SubscriptionManager.HandleCancelEvent should have comment or be unexported (golint)
    • Line 250: warning: exported method SubscriptionManager.Run should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceStateSnapshotTaken.go
    • Line 30: warning: exported method ResourceStateSnapshotTaken.AggregateID should have comment or be unexported (golint)
    • Line 34: warning: exported method ResourceStateSnapshotTaken.GroupID should have comment or be unexported (golint)
    • Line 38: warning: exported method ResourceStateSnapshotTaken.Version should have comment or be unexported (golint)
    • Line 42: warning: exported method ResourceStateSnapshotTaken.Marshal should have comment or be unexported (golint)
    • Line 46: warning: exported method ResourceStateSnapshotTaken.Unmarshal should have comment or be unexported (golint)
    • Line 50: warning: exported method ResourceStateSnapshotTaken.EventType should have comment or be unexported (golint)
    • Line 54: warning: exported method ResourceStateSnapshotTaken.IsSnapshot should have comment or be unexported (golint)
    • Line 58: warning: exported method ResourceStateSnapshotTaken.Timestamp should have comment or be unexported (golint)
    • Line 62: warning: exported method ResourceStateSnapshotTaken.CopyData should have comment or be unexported (golint)
    • Line 73: warning: exported method ResourceStateSnapshotTaken.CheckInitialized should have comment or be unexported (golint)
    • Line 139: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceCreatePending should have comment or be unexported (golint)
    • Line 159: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceUpdatePending should have comment or be unexported (golint)
    • Line 179: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceRetrievePending should have comment or be unexported (golint)
    • Line 198: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceDeletePending should have comment or be unexported (golint)
    • Line 217: warning: exported function RemoveIndex should have comment or be unexported (golint)
    • Line 221: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceCreated should have comment or be unexported (golint)
    • Line 239: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceUpdated should have comment or be unexported (golint)
    • Line 257: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceRetrieved should have comment or be unexported (golint)
    • Line 275: warning: exported method ResourceStateSnapshotTaken.ValidateSequence should have comment or be unexported (golint)
    • Line 288: warning: exported function Equal should have comment or be unexported (golint)
    • Line 306: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceChanged should have comment or be unexported (golint)
    • Line 317: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceDeleted should have comment or be unexported (golint)
    • Line 335: warning: exported method ResourceStateSnapshotTaken.HandleEventResourceStateSnapshotTaken should have comment or be unexported (golint)
    • Line 348: warning: exported method ResourceStateSnapshotTaken.Handle should have comment or be unexported (golint)
    • Line 502: warning: exported method ResourceStateSnapshotTaken.ConfirmResourceUpdateCommand should have comment or be unexported (golint)
    • Line 522: warning: exported method ResourceStateSnapshotTaken.ConfirmResourceRetrieveCommand should have comment or be unexported (golint)
    • Line 542: warning: exported method ResourceStateSnapshotTaken.ConfirmResourceDeleteCommand should have comment or be unexported (golint)
    • Line 562: warning: exported method ResourceStateSnapshotTaken.ConfirmResourceCreateCommand should have comment or be unexported (golint)
    • Line 582: warning: exported method ResourceStateSnapshotTaken.CancelPendingCommands should have comment or be unexported (golint)
    • Line 654: warning: exported method ResourceStateSnapshotTaken.HandleCommand should have comment or be unexported (golint)
    • Line 792: warning: exported method ResourceStateSnapshotTaken.TakeSnapshot should have comment or be unexported (golint)
    • Line 805: warning: exported function NewResourceStateSnapshotTaken should have comment or be unexported (golint)
    • cloud/pkg/security/jwt/validator.go
    • Line 11: warning: exported type Validator should have comment or be unexported (golint)
    • Line 15: warning: exported function NewValidatorWithKeyCache should have comment or be unexported (golint)
    • Line 19: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 23: warning: exported method Validator.Parse should have comment or be unexported (golint)
    • Line 38: warning: exported method Validator.ParseWithContext should have comment or be unexported (golint)
    • Line 59: warning: exported method Validator.ParseWithClaims should have comment or be unexported (golint)
    • Line 70: warning: exported method Validator.ParseWithContextClaims should have comment or be unexported (golint)
    • cloud/coap-gateway/service/config.go
    • Line 25: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 41: warning: comment on exported type LogConfig should be of the form "LogConfig ..." (with optional leading article) (golint)
    • Line 47: warning: exported type APIsConfig should have comment or be unexported (golint)
    • Line 51: warning: exported method APIsConfig.Validate should have comment or be unexported (golint)
    • Line 59: warning: exported type COAPConfig should have comment or be unexported (golint)
    • Line 70: warning: exported method COAPConfig.Validate should have comment or be unexported (golint)
    • Line 102: warning: exported type TLSConfig should have comment or be unexported (golint)
    • Line 107: warning: exported type KeepAlive should have comment or be unexported (golint)
    • Line 111: warning: exported method KeepAlive.Validate should have comment or be unexported (golint)
    • Line 118: warning: exported type BlockwiseTransferConfig should have comment or be unexported (golint)
    • Line 123: warning: exported method BlockwiseTransferConfig.Validate should have comment or be unexported (golint)
    • Line 135: warning: exported method TLSConfig.Validate should have comment or be unexported (golint)
    • Line 146: warning: exported type EventBusConfig should have comment or be unexported (golint)
    • Line 150: warning: exported method EventBusConfig.Validate should have comment or be unexported (golint)
    • Line 158: warning: exported type AuthorizationServerConfig should have comment or be unexported (golint)
    • Line 163: warning: exported method AuthorizationServerConfig.Validate should have comment or be unexported (golint)
    • Line 174: warning: exported type ClientsConfig should have comment or be unexported (golint)
    • Line 181: warning: exported method ClientsConfig.Validate should have comment or be unexported (golint)
    • Line 205: warning: exported type GrpcServerConfig should have comment or be unexported (golint)
    • Line 209: warning: exported method GrpcServerConfig.Validate should have comment or be unexported (golint)
    • Line 217: warning: exported type ResourceAggregateConfig should have comment or be unexported (golint)
    • Line 222: warning: exported method ResourceAggregateConfig.Validate should have comment or be unexported (golint)
    • Line 234: warning: exported type DeviceStatusExpirationConfig should have comment or be unexported (golint)
    • Line 239: warning: exported method DeviceStatusExpirationConfig.Validate should have comment or be unexported (golint)
    • cloud/coap-gateway/coapconv/grpcCode2CoapCode.go
    • Line 8: warning: exported type Operation should have comment or be unexported (golint)
    • Line 10: warning: exported const Create should have comment or be unexported (golint)
    • Line 11: warning: exported const Retrieve should have comment or be unexported (golint)
    • Line 12: warning: exported const Update should have comment or be unexported (golint)
    • Line 13: warning: exported const Delete should have comment or be unexported (golint)
    • Line 15: warning: exported function GrpcCode2CoapCode should have comment or be unexported (golint)
    • cloud/cloud2cloud-connector/events/subscription.go
    • Line 3: warning: exported type EventType should have comment or be unexported (golint)
    • Line 6: warning: comment on exported const EventType_ResourceChanged should be of the form "EventType_ResourceChanged ..." (golint)
    • Line 7: warning: don't use underscores in Go names; const EventType_ResourceChanged should be EventTypeResourceChanged (golint)
    • Line 9: warning: comment on exported const EventType_ResourcesPublished should be of the form "EventType_ResourcesPublished ..." (golint)
    • Line 10: warning: don't use underscores in Go names; const EventType_ResourcesPublished should be EventTypeResourcesPublished (golint)
    • Line 11: warning: don't use underscores in Go names; const EventType_ResourcesUnpublished should be EventTypeResourcesUnpublished (golint)
    • Line 11: warning: exported const EventType_ResourcesUnpublished should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: comment on exported const EventType_DevicesOnline should be of the form "EventType_DevicesOnline ..." (golint)
    • Line 14: warning: don't use underscores in Go names; const EventType_DevicesOnline should be EventTypeDevicesOnline (golint)
    • Line 15: warning: don't use underscores in Go names; const EventType_DevicesOffline should be EventTypeDevicesOffline (golint)
    • Line 16: warning: don't use underscores in Go names; const EventType_DevicesRegistered should be EventTypeDevicesRegistered (golint)
    • Line 17: warning: don't use underscores in Go names; const EventType_DevicesUnregistered should be EventTypeDevicesUnregistered (golint)
    • Line 19: warning: comment on exported const EventType_SubscriptionCanceled should be of the form "EventType_SubscriptionCanceled ..." (golint)
    • Line 20: warning: don't use underscores in Go names; const EventType_SubscriptionCanceled should be EventTypeSubscriptionCanceled (golint)
    • Line 23: warning: exported var AllDevicesEvents should have comment or be unexported (golint)
    • Line 24: warning: exported var AllDeviceEvents should have comment or be unexported (golint)
    • Line 25: warning: exported var AllResourceEvents should have comment or be unexported (golint)
    • Line 27: warning: exported type EventTypes should have comment or be unexported (golint)
    • Line 29: warning: exported method EventTypes.Has should have comment or be unexported (golint)
    • Line 38: warning: exported type SubscriptionRequest should have comment or be unexported (golint)
    • Line 44: warning: exported type SubscriptionResponse should have comment or be unexported (golint)
    • cloud/resource-aggregate/events/resourceRetrieved.go
    • Line 13: warning: exported method ResourceRetrieved.Version should have comment or be unexported (golint)
    • Line 17: warning: exported method ResourceRetrieved.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported method ResourceRetrieved.Unmarshal should have comment or be unexported (golint)
    • Line 25: warning: exported method ResourceRetrieved.EventType should have comment or be unexported (golint)
    • Line 29: warning: exported method ResourceRetrieved.AggregateID should have comment or be unexported (golint)
    • Line 33: warning: exported method ResourceRetrieved.GroupID should have comment or be unexported (golint)
    • Line 37: warning: exported method ResourceRetrieved.IsSnapshot should have comment or be unexported (golint)
    • Line 41: warning: exported method ResourceRetrieved.Timestamp should have comment or be unexported (golint)
    • Line 45: warning: exported method ResourceRetrieved.CopyData should have comment or be unexported (golint)
    • Line 53: warning: exported method ResourceRetrieved.CheckInitialized should have comment or be unexported (golint)

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.

    • cloud/resource-aggregate/events/resourceStateSnapshotTaken.go
    • Line 348: warning: cyclomatic complexity 34 of function (*ResourceStateSnapshotTaken).Handle() is high (> 15) (gocyclo)
    • Line 654: warning: cyclomatic complexity 27 of function (*ResourceStateSnapshotTaken).HandleCommand() is high (> 15) (gocyclo)
    • Line 582: warning: cyclomatic complexity 19 of function (*ResourceStateSnapshotTaken).CancelPendingCommands() is high (> 15) (gocyclo)
    • Line 443: warning: cyclomatic complexity 16 of function convertContent() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!