Preparing report...

Report for github.com/grokify/go-ringcentral-engage

A    Great!    Found 129 issues across 140 files

Tweet

gofmt97%

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


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


golint10%

Golint is a linter for Go source code.

    • go-ringcentral-engage/engagedigital/engagedigital/api_identity_groups.go
    • Line 28: warning: exported type IdentityGroupsApiService should have comment or be unexported (golint)
    • Line 45: warning: exported type GetAllIdentityGroupsOpts should have comment or be unexported (golint)
    • Line 55: warning: exported method IdentityGroupsApiService.GetAllIdentityGroups should have comment or be unexported (golint)
    • Line 156: warning: comment on exported method IdentityGroupsApiService.GetIdentityGroup should be of the form "GetIdentityGroup ..." (golint)
    • Line 263: warning: exported type UpdateIdentityGroupOpts should have comment or be unexported (golint)
    • Line 276: warning: exported method IdentityGroupsApiService.UpdateIdentityGroup should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_reply_assistant_entries.go
    • Line 28: warning: exported type ReplyAssistantEntriesApiService should have comment or be unexported (golint)
    • Line 30: warning: comment on exported method ReplyAssistantEntriesApiService.CreateReplyAssistantEntry should be of the form "CreateReplyAssistantEntry ..." (golint)
    • Line 118: warning: comment on exported method ReplyAssistantEntriesApiService.DeleteReplyAssistantEntry should be of the form "DeleteReplyAssistantEntry ..." (golint)
    • Line 216: warning: exported type GetAllReplyAssistantEntriesOpts should have comment or be unexported (golint)
    • Line 221: warning: exported method ReplyAssistantEntriesApiService.GetAllReplyAssistantEntries should have comment or be unexported (golint)
    • Line 307: warning: comment on exported method ReplyAssistantEntriesApiService.GetReplyAssistantEntry should be of the form "GetReplyAssistantEntry ..." (golint)
    • Line 410: warning: exported type UpdateReplyAssistantEntryOpts should have comment or be unexported (golint)
    • Line 419: warning: exported method ReplyAssistantEntriesApiService.UpdateReplyAssistantEntry should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_reply_assistant_groups.go
    • Line 28: warning: exported type ReplyAssistantGroupsApiService should have comment or be unexported (golint)
    • Line 42: warning: exported type CreateReplyAssistantGroupOpts should have comment or be unexported (golint)
    • Line 48: warning: exported method ReplyAssistantGroupsApiService.CreateReplyAssistantGroup should have comment or be unexported (golint)
    • Line 146: warning: comment on exported method ReplyAssistantGroupsApiService.DeleteReplyAssistantGroup should be of the form "DeleteReplyAssistantGroup ..." (golint)
    • Line 244: warning: exported type GetAllReplyAssistantGroupsOpts should have comment or be unexported (golint)
    • Line 249: warning: exported method ReplyAssistantGroupsApiService.GetAllReplyAssistantGroups should have comment or be unexported (golint)
    • Line 335: warning: comment on exported method ReplyAssistantGroupsApiService.GetReplyAssistantGroup should be of the form "GetReplyAssistantGroup ..." (golint)
    • Line 436: warning: exported type UpdateReplyAssistantGroupOpts should have comment or be unexported (golint)
    • Line 443: warning: exported method ReplyAssistantGroupsApiService.UpdateReplyAssistantGroup should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_events.go
    • Line 27: warning: exported type EventsApiService should have comment or be unexported (golint)
    • Line 40: warning: exported type GetAllEventsOpts should have comment or be unexported (golint)
    • Line 46: warning: exported method EventsApiService.GetAllEvents should have comment or be unexported (golint)
    • Line 135: warning: comment on exported method EventsApiService.GetEvent should be of the form "GetEvent ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_categories.go
    • Line 28: warning: exported type CategoriesApiService should have comment or be unexported (golint)
    • Line 46: warning: exported type CreateCategoryOpts should have comment or be unexported (golint)
    • Line 57: warning: exported method CategoriesApiService.CreateCategory should have comment or be unexported (golint)
    • Line 179: warning: exported type DeleteCategoryOpts should have comment or be unexported (golint)
    • Line 183: warning: exported method CategoriesApiService.DeleteCategory should have comment or be unexported (golint)
    • Line 278: warning: exported type GetAllCategoriesOpts should have comment or be unexported (golint)
    • Line 284: warning: exported method CategoriesApiService.GetAllCategories should have comment or be unexported (golint)
    • Line 373: warning: comment on exported method CategoriesApiService.GetCategory should be of the form "GetCategory ..." (golint)
    • Line 478: warning: exported type UpdateCategoryOpts should have comment or be unexported (golint)
    • Line 489: warning: exported method CategoriesApiService.UpdateCategory should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_presence_status.go
    • Line 27: warning: exported type PresenceStatusApiService should have comment or be unexported (golint)
    • Line 29: warning: comment on exported method PresenceStatusApiService.CreatePresenceStatus should be of the form "CreatePresenceStatus ..." (golint)
    • Line 117: warning: comment on exported method PresenceStatusApiService.DeletePresenceStatus should be of the form "DeletePresenceStatus ..." (golint)
    • Line 215: warning: exported type GetAllPresenceStatusOpts should have comment or be unexported (golint)
    • Line 220: warning: exported method PresenceStatusApiService.GetAllPresenceStatus should have comment or be unexported (golint)
    • Line 306: warning: comment on exported method PresenceStatusApiService.GetPresenceStatus should be of the form "GetPresenceStatus ..." (golint)
    • Line 394: warning: comment on exported method PresenceStatusApiService.UpdatePresenceStatus should be of the form "UpdatePresenceStatus ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_contents.go
    • Line 28: warning: exported type ContentsApiService should have comment or be unexported (golint)
    • Line 30: warning: comment on exported method ContentsApiService.CategorizeContent should be of the form "CategorizeContent ..." (golint)
    • Line 146: warning: exported type CreateContentOpts should have comment or be unexported (golint)
    • Line 158: warning: exported method ContentsApiService.CreateContent should have comment or be unexported (golint)
    • Line 309: warning: exported type GetAllContentsOpts should have comment or be unexported (golint)
    • Line 315: warning: exported method ContentsApiService.GetAllContents should have comment or be unexported (golint)
    • Line 404: warning: comment on exported method ContentsApiService.GetContent should be of the form "GetContent ..." (golint)
    • Line 492: warning: comment on exported method ContentsApiService.IgnoreContent should be of the form "IgnoreContent ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_roles.go
    • Line 27: warning: exported type RolesApiService should have comment or be unexported (golint)
    • Line 103: warning: exported type CreateRoleOpts should have comment or be unexported (golint)
    • Line 171: warning: exported method RolesApiService.CreateRole should have comment or be unexported (golint)
    • Line 457: warning: exported type GetAllRolesOpts should have comment or be unexported (golint)
    • Line 462: warning: exported method RolesApiService.GetAllRoles should have comment or be unexported (golint)
    • Line 548: warning: comment on exported method RolesApiService.GetRole should be of the form "GetRole ..." (golint)
    • Line 710: warning: exported type UpdateRoleOpts should have comment or be unexported (golint)
    • Line 778: warning: exported method RolesApiService.UpdateRole should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_intervention_comments.go
    • Line 27: warning: exported type InterventionCommentsApiService should have comment or be unexported (golint)
    • Line 29: warning: comment on exported method InterventionCommentsApiService.CreateInterventionComment should be of the form "CreateInterventionComment ..." (golint)
    • Line 121: warning: comment on exported method InterventionCommentsApiService.DeleteInterventionComment should be of the form "DeleteInterventionComment ..." (golint)
    • Line 223: warning: exported type GetAllInterventionCommentsOpts should have comment or be unexported (golint)
    • Line 232: warning: exported method InterventionCommentsApiService.GetAllInterventionComments should have comment or be unexported (golint)
    • Line 330: warning: comment on exported method InterventionCommentsApiService.GetInterventionComment should be of the form "GetInterventionComment ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_teams.go
    • Line 28: warning: exported type TeamsApiService should have comment or be unexported (golint)
    • Line 41: warning: exported type CreateTeamOpts should have comment or be unexported (golint)
    • Line 47: warning: exported method TeamsApiService.CreateTeam should have comment or be unexported (golint)
    • Line 162: warning: exported type DeleteTeamOpts should have comment or be unexported (golint)
    • Line 166: warning: exported method TeamsApiService.DeleteTeam should have comment or be unexported (golint)
    • Line 260: warning: exported type GetAllTeamsOpts should have comment or be unexported (golint)
    • Line 265: warning: exported method TeamsApiService.GetAllTeams should have comment or be unexported (golint)
    • Line 351: warning: comment on exported method TeamsApiService.GetTeam should be of the form "GetTeam ..." (golint)
    • Line 451: warning: exported type UpdateTeamOpts should have comment or be unexported (golint)
    • Line 457: warning: exported method TeamsApiService.UpdateTeam should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_reply_assistant_versions.go
    • Line 28: warning: exported type ReplyAssistantVersionsApiService should have comment or be unexported (golint)
    • Line 43: warning: exported type CreateReplyAssistantVersionOpts should have comment or be unexported (golint)
    • Line 49: warning: exported method ReplyAssistantVersionsApiService.CreateReplyAssistantVersion should have comment or be unexported (golint)
    • Line 148: warning: comment on exported method ReplyAssistantVersionsApiService.DeleteReplyAssistantVersion should be of the form "DeleteReplyAssistantVersion ..." (golint)
    • Line 246: warning: exported type GetAllReplyAssistantVersionsOpts should have comment or be unexported (golint)
    • Line 251: warning: exported method ReplyAssistantVersionsApiService.GetAllReplyAssistantVersions should have comment or be unexported (golint)
    • Line 337: warning: comment on exported method ReplyAssistantVersionsApiService.GetReplyAssistantVersion should be of the form "GetReplyAssistantVersion ..." (golint)
    • Line 439: warning: exported type UpdateReplyAssistantVersionOpts should have comment or be unexported (golint)
    • Line 447: warning: exported method ReplyAssistantVersionsApiService.UpdateReplyAssistantVersion should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_sources.go
    • Line 28: warning: exported type SourcesApiService should have comment or be unexported (golint)
    • Line 40: warning: exported type GetAllSourcesOpts should have comment or be unexported (golint)
    • Line 45: warning: exported method SourcesApiService.GetAllSources should have comment or be unexported (golint)
    • Line 131: warning: comment on exported method SourcesApiService.GetSource should be of the form "GetSource ..." (golint)
    • Line 243: warning: exported type UpdateSourceOpts should have comment or be unexported (golint)
    • Line 261: warning: exported method SourcesApiService.UpdateSource should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_communities.go
    • Line 27: warning: exported type CommunitiesApiService should have comment or be unexported (golint)
    • Line 39: warning: exported type GetAllCommunitiesOpts should have comment or be unexported (golint)
    • Line 44: warning: exported method CommunitiesApiService.GetAllCommunities should have comment or be unexported (golint)
    • Line 130: warning: comment on exported method CommunitiesApiService.GetCommunity should be of the form "GetCommunity ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_folders.go
    • Line 28: warning: exported type FoldersApiService should have comment or be unexported (golint)
    • Line 45: warning: exported type CreateFolderOpts should have comment or be unexported (golint)
    • Line 55: warning: exported method FoldersApiService.CreateFolder should have comment or be unexported (golint)
    • Line 172: warning: comment on exported method FoldersApiService.DeleteFolder should be of the form "DeleteFolder ..." (golint)
    • Line 270: warning: exported type GetAllFoldersOpts should have comment or be unexported (golint)
    • Line 275: warning: exported method FoldersApiService.GetAllFolders should have comment or be unexported (golint)
    • Line 361: warning: comment on exported method FoldersApiService.GetFolder should be of the form "GetFolder ..." (golint)
    • Line 465: warning: exported type UpdateFolderOpts should have comment or be unexported (golint)
    • Line 475: warning: exported method FoldersApiService.UpdateFolder should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_tasks.go
    • Line 28: warning: exported type TasksApiService should have comment or be unexported (golint)
    • Line 43: warning: exported type GetAllTasksOpts should have comment or be unexported (golint)
    • Line 51: warning: exported method TasksApiService.GetAllTasks should have comment or be unexported (golint)
    • Line 146: warning: comment on exported method TasksApiService.GetTask should be of the form "GetTask ..." (golint)
    • Line 234: warning: comment on exported method TasksApiService.MoveTask should be of the form "MoveTask ..." (golint)
    • Line 339: warning: exported type TransferTaskOpts should have comment or be unexported (golint)
    • Line 348: warning: exported method TasksApiService.TransferTask should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_channels.go
    • Line 28: warning: exported type ChannelsApiService should have comment or be unexported (golint)
    • Line 40: warning: exported type GetAllChannelsOpts should have comment or be unexported (golint)
    • Line 45: warning: exported method ChannelsApiService.GetAllChannels should have comment or be unexported (golint)
    • Line 131: warning: comment on exported method ChannelsApiService.GetChannel should be of the form "GetChannel ..." (golint)
    • Line 233: warning: exported type UpdateChannelOpts should have comment or be unexported (golint)
    • Line 241: warning: exported method ChannelsApiService.UpdateChannel should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_interventions.go
    • Line 28: warning: exported type InterventionsApiService should have comment or be unexported (golint)
    • Line 30: warning: comment on exported method InterventionsApiService.CancelIntervention should be of the form "CancelIntervention ..." (golint)
    • Line 118: warning: comment on exported method InterventionsApiService.CategorizeIntervention should be of the form "CategorizeIntervention ..." (golint)
    • Line 216: warning: comment on exported method InterventionsApiService.CloseIntervention should be of the form "CloseIntervention ..." (golint)
    • Line 304: warning: comment on exported method InterventionsApiService.CreateIntervention should be of the form "CreateIntervention ..." (golint)
    • Line 407: warning: exported type GetAllInterventionsOpts should have comment or be unexported (golint)
    • Line 417: warning: exported method InterventionsApiService.GetAllInterventions should have comment or be unexported (golint)
    • Line 526: warning: comment on exported method InterventionsApiService.GetIntervention should be of the form "GetIntervention ..." (golint)
    • Line 614: warning: comment on exported method InterventionsApiService.ReassignIntervention should be of the form "ReassignIntervention ..." (golint)
    • go-ringcentral-engage/engagevoice/engagevoiceutil/api_token.go
    • Line 18: warning: exported const EngageVoiceBaseUri should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type LoginSuccess should have comment or be unexported (golint)
    • Line 30: warning: exported type User should have comment or be unexported (golint)
    • Line 46: warning: exported type Role should have comment or be unexported (golint)
    • Line 51: warning: exported type Account should have comment or be unexported (golint)
    • Line 81: warning: exported type LoginError should have comment or be unexported (golint)
    • Line 88: warning: exported function GenerateAPIToken should have comment or be unexported (golint)
    • Line 107: warning: exported function ExchangeAPIToken should have comment or be unexported (golint)
    • Line 131: warning: exported function RequestAuthToken should have comment or be unexported (golint)
    • Line 156: warning: exported function ListTokens should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_identities.go
    • Line 27: warning: exported type IdentitiesApiService should have comment or be unexported (golint)
    • Line 45: warning: exported type GetAllIdentitiesOpts should have comment or be unexported (golint)
    • Line 56: warning: exported method IdentitiesApiService.GetAllIdentities should have comment or be unexported (golint)
    • Line 160: warning: comment on exported method IdentitiesApiService.GetIdentity should be of the form "GetIdentity ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_webhooks.go
    • Line 29: warning: exported type WebhooksApiService should have comment or be unexported (golint)
    • Line 47: warning: exported type CreateWebhookOpts should have comment or be unexported (golint)
    • Line 54: warning: exported method WebhooksApiService.CreateWebhook should have comment or be unexported (golint)
    • Line 54: warning: don't use underscores in Go names; method parameter url_ should be url (golint)
    • Line 158: warning: comment on exported method WebhooksApiService.DeleteWebhook should be of the form "DeleteWebhook ..." (golint)
    • Line 259: warning: exported type GetAllWebhooksOpts should have comment or be unexported (golint)
    • Line 264: warning: exported method WebhooksApiService.GetAllWebhooks should have comment or be unexported (golint)
    • Line 351: warning: comment on exported method WebhooksApiService.GetWebhook should be of the form "GetWebhook ..." (golint)
    • Line 458: warning: exported type UpdateWebhookOpts should have comment or be unexported (golint)
    • Line 468: warning: exported method WebhooksApiService.UpdateWebhook should have comment or be unexported (golint)
    • go-ringcentral-engage/engagevoice/engagevoiceutil/client.go
    • Line 10: warning: exported type ClientAPIs should have comment or be unexported (golint)
    • Line 15: warning: exported function NewClientAPIsHTTPClient should have comment or be unexported (golint)
    • Line 23: warning: exported function NewClientAPIs should have comment or be unexported (golint)
    • Line 28: warning: exported function NewHTTPClient should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_custom_fields.go
    • Line 28: warning: exported type CustomFieldsApiService should have comment or be unexported (golint)
    • Line 45: warning: exported type CreateCustomFieldOpts should have comment or be unexported (golint)
    • Line 47: warning: don't use underscores in Go names; struct field Type_ should be Type (golint)
    • Line 53: warning: exported method CustomFieldsApiService.CreateCustomField should have comment or be unexported (golint)
    • Line 158: warning: comment on exported method CustomFieldsApiService.DeleteCustomField should be of the form "DeleteCustomField ..." (golint)
    • Line 256: warning: exported type GetAllCustomFieldsOpts should have comment or be unexported (golint)
    • Line 261: warning: exported method CustomFieldsApiService.GetAllCustomFields should have comment or be unexported (golint)
    • Line 347: warning: comment on exported method CustomFieldsApiService.GetCustomField should be of the form "GetCustomField ..." (golint)
    • Line 447: warning: exported type UpdateCustomFieldOpts should have comment or be unexported (golint)
    • Line 453: warning: exported method CustomFieldsApiService.UpdateCustomField should have comment or be unexported (golint)
    • go-ringcentral-engage/engagevoice/engagevoice/api_agents.go
    • Line 26: warning: exported type AgentsApiService should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method AgentsApiService.GetAgentGroups should be of the form "GetAgentGroups ..." (golint)
    • Line 125: warning: comment on exported method AgentsApiService.GetAgents should be of the form "GetAgents ..." (golint)
    • go-ringcentral-engage/engagevoice/engagevoice/client.go
    • Line 174: warning: comment on exported method APIClient.ChangeBasePath should be of the form "ChangeBasePath ..." (golint)
    • Line 512: warning: exported method APIClient.HTTPClient should have comment or be unexported (golint)
    • Line 512: warning: receiver name apiClient should be consistent with previous receiver name c for APIClient (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_settings.go
    • Line 26: warning: exported type SettingsApiService should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method SettingsApiService.GetAllSettings should be of the form "GetAllSettings ..." (golint)
    • Line 161: warning: exported type UpdateSettingsOpts should have comment or be unexported (golint)
    • Line 198: warning: don't use underscores in Go names; struct field Type_ should be Type (golint)
    • Line 203: warning: exported method SettingsApiService.UpdateSettings should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_attachments.go
    • Line 28: warning: exported type AttachmentsApiService should have comment or be unexported (golint)
    • Line 40: warning: exported type CreateAttachmentOpts should have comment or be unexported (golint)
    • Line 45: warning: exported method AttachmentsApiService.CreateAttachment should have comment or be unexported (golint)
    • Line 153: warning: exported type GetAllAttachmentsOpts should have comment or be unexported (golint)
    • Line 158: warning: exported method AttachmentsApiService.GetAllAttachments should have comment or be unexported (golint)
    • Line 244: warning: comment on exported method AttachmentsApiService.GetAttachment should be of the form "GetAttachment ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_threads.go
    • Line 28: warning: exported type ThreadsApiService should have comment or be unexported (golint)
    • Line 30: warning: comment on exported method ThreadsApiService.ArchiveThread should be of the form "ArchiveThread ..." (golint)
    • Line 128: warning: exported type CategorizeThreadOpts should have comment or be unexported (golint)
    • Line 132: warning: exported method ThreadsApiService.CategorizeThread should have comment or be unexported (golint)
    • Line 224: warning: comment on exported method ThreadsApiService.CloseThread should be of the form "CloseThread ..." (golint)
    • Line 323: warning: exported type GetAllThreadsOpts should have comment or be unexported (golint)
    • Line 329: warning: exported method ThreadsApiService.GetAllThreads should have comment or be unexported (golint)
    • Line 418: warning: comment on exported method ThreadsApiService.GetThread should be of the form "GetThread ..." (golint)
    • Line 506: warning: comment on exported method ThreadsApiService.OpenThread should be of the form "OpenThread ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_time_sheets.go
    • Line 28: warning: exported type TimeSheetsApiService should have comment or be unexported (golint)
    • Line 50: warning: exported type CreateTimeSheetOpts should have comment or be unexported (golint)
    • Line 64: warning: exported method TimeSheetsApiService.CreateTimeSheet should have comment or be unexported (golint)
    • Line 186: warning: comment on exported method TimeSheetsApiService.DeleteTimeSheet should be of the form "DeleteTimeSheet ..." (golint)
    • Line 284: warning: exported type GetAllTimeSheetsOpts should have comment or be unexported (golint)
    • Line 289: warning: exported method TimeSheetsApiService.GetAllTimeSheets should have comment or be unexported (golint)
    • Line 375: warning: comment on exported method TimeSheetsApiService.GetTimeSheet should be of the form "GetTimeSheet ..." (golint)
    • Line 483: warning: exported type UpdateTimeSheetOpts should have comment or be unexported (golint)
    • Line 497: warning: exported method TimeSheetsApiService.UpdateTimeSheet should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_users.go
    • Line 28: warning: exported type UsersApiService should have comment or be unexported (golint)
    • Line 53: warning: exported type CreateUserOpts should have comment or be unexported (golint)
    • Line 66: warning: exported method UsersApiService.CreateUser should have comment or be unexported (golint)
    • Line 213: warning: comment on exported method UsersApiService.DeleteUser should be of the form "DeleteUser ..." (golint)
    • Line 317: warning: exported type GetAllUsersOpts should have comment or be unexported (golint)
    • Line 328: warning: exported method UsersApiService.GetAllUsers should have comment or be unexported (golint)
    • Line 432: warning: comment on exported method UsersApiService.GetUser should be of the form "GetUser ..." (golint)
    • Line 542: warning: exported type InviteUserOpts should have comment or be unexported (golint)
    • Line 555: warning: exported method UsersApiService.InviteUser should have comment or be unexported (golint)
    • Line 725: warning: exported type UpdateUserOpts should have comment or be unexported (golint)
    • Line 743: warning: exported method UsersApiService.UpdateUser should have comment or be unexported (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_tags.go
    • Line 27: warning: exported type TagsApiService should have comment or be unexported (golint)
    • Line 29: warning: comment on exported method TagsApiService.CreateTag should be of the form "CreateTag ..." (golint)
    • Line 117: warning: comment on exported method TagsApiService.DeleteTag should be of the form "DeleteTag ..." (golint)
    • Line 215: warning: exported type GetAllTagsOpts should have comment or be unexported (golint)
    • Line 220: warning: exported method TagsApiService.GetAllTags should have comment or be unexported (golint)
    • Line 306: warning: comment on exported method TagsApiService.GetTag should be of the form "GetTag ..." (golint)
    • Line 394: warning: comment on exported method TagsApiService.UpdateTag should be of the form "UpdateTag ..." (golint)
    • go-ringcentral-engage/engagedigital/engagedigital/api_agent_status.go
    • Line 27: warning: exported type AgentStatusApiService should have comment or be unexported (golint)
    • Line 40: warning: exported type ChangeAgentStatusOpts should have comment or be unexported (golint)
    • Line 45: warning: exported method AgentStatusApiService.ChangeAgentStatus should have comment or be unexported (golint)
    • Line 132: warning: comment on exported method AgentStatusApiService.GetAgentStatus should be of the form "GetAgentStatus ..." (golint)
    • Line 220: warning: comment on exported method AgentStatusApiService.GetAllAgentStatus should be of the form "GetAllAgentStatus ..." (golint)

gocyclo78%

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.

    • go-ringcentral-engage/engagedigital/engagedigital/api_users.go
    • Line 743: warning: cyclomatic complexity 49 of function (*UsersApiService).UpdateUser() is high (> 15) (gocyclo)
    • Line 66: warning: cyclomatic complexity 39 of function (*UsersApiService).CreateUser() is high (> 15) (gocyclo)
    • Line 555: warning: cyclomatic complexity 39 of function (*UsersApiService).InviteUser() is high (> 15) (gocyclo)
    • Line 328: warning: cyclomatic complexity 27 of function (*UsersApiService).GetAllUsers() is high (> 15) (gocyclo)

ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell99%

Misspell Finds commonly misspelled English words