Preparing report...

Report for github.com/modzy/sdk-go

A+    Excellent!    Found 39 issues across 72 files

Tweet

gofmt94%

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!


gocyclo98%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


golint48%

Golint is a linter for Go source code.

    • sdk-go/model/accounting.go
    • Line 3: warning: exported type Entitlement should have comment or be unexported (golint)
    • Line 10: warning: exported type AccountingUser should have comment or be unexported (golint)
    • Line 21: warning: exported type License should have comment or be unexported (golint)
    • Line 26: warning: exported type AccountingProject should have comment or be unexported (golint)
    • Line 38: warning: exported type AccessKey should have comment or be unexported (golint)
    • Line 48: warning: exported type UserSummary should have comment or be unexported (golint)
    • sdk-go/accounting_params.go
    • Line 10: warning: exported type ListAccountingUsersInput should have comment or be unexported (golint)
    • Line 18: warning: exported const ListAccountingUsersFilterFieldFirstName should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported method ListAccountingUsersInput.WithPaging should have comment or be unexported (golint)
    • Line 34: warning: exported method ListAccountingUsersInput.WithFilter should have comment or be unexported (golint)
    • Line 39: warning: exported method ListAccountingUsersInput.WithFilterAnd should have comment or be unexported (golint)
    • Line 44: warning: exported method ListAccountingUsersInput.WithFilterOr should have comment or be unexported (golint)
    • Line 49: warning: exported type ListAccountingUsersOutput should have comment or be unexported (golint)
    • Line 54: warning: exported type GetLicenseOutput should have comment or be unexported (golint)
    • Line 58: warning: exported type ListProjectsInput should have comment or be unexported (golint)
    • Line 66: warning: exported const ListProjectsFilterFieldSearch should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: exported method ListProjectsInput.WithPaging should have comment or be unexported (golint)
    • Line 75: warning: exported method ListProjectsInput.WithFilter should have comment or be unexported (golint)
    • Line 80: warning: exported method ListProjectsInput.WithFilterAnd should have comment or be unexported (golint)
    • Line 85: warning: exported method ListProjectsInput.WithFilterOr should have comment or be unexported (golint)
    • Line 90: warning: exported type ListProjectsOutput should have comment or be unexported (golint)
    • Line 95: warning: exported type GetProjectDetailsInput should have comment or be unexported (golint)
    • Line 99: warning: exported type GetProjectDetailsOutput should have comment or be unexported (golint)
    • sdk-go/jobs_params.go
    • Line 14: warning: exported type WaitForJobCompletionInput should have comment or be unexported (golint)
    • Line 21: warning: exported type ListJobsHistoryInput should have comment or be unexported (golint)
    • Line 29: warning: exported const ListJobsHistoryFilterFieldStartDate should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: comment on exported type ListJobsHistorySortField should be of the form "ListJobsHistorySortField ..." (with optional leading article) (golint)
    • Line 41: warning: exported const ListJobsHistorySortFieldIdentifier should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported method ListJobsHistoryInput.WithPaging should have comment or be unexported (golint)
    • Line 59: warning: exported method ListJobsHistoryInput.WithFilter should have comment or be unexported (golint)
    • Line 64: warning: exported method ListJobsHistoryInput.WithFilterAnd should have comment or be unexported (golint)
    • Line 69: warning: exported method ListJobsHistoryInput.WithFilterOr should have comment or be unexported (golint)
    • Line 74: warning: exported method ListJobsHistoryInput.WithSort should have comment or be unexported (golint)
    • Line 84: warning: exported type ListJobsHistoryOutput should have comment or be unexported (golint)
    • Line 89: warning: exported type SubmitJobOutput should have comment or be unexported (golint)
    • Line 94: warning: exported type TextInputItem should have comment or be unexported (golint)
    • Line 96: warning: exported type SubmitJobTextInput should have comment or be unexported (golint)
    • Line 104: warning: exported type SubmitJobTextOutput should have comment or be unexported (golint)
    • Line 106: warning: exported type EmbeddedInputItem should have comment or be unexported (golint)
    • Line 108: warning: exported type SubmitJobEmbeddedInput should have comment or be unexported (golint)
    • Line 116: warning: exported type SubmitJobEmbeddedOutput should have comment or be unexported (golint)
    • Line 118: warning: exported type FileInputItem should have comment or be unexported (golint)
    • Line 120: warning: exported type SubmitJobFileInput should have comment or be unexported (golint)
    • Line 131: warning: exported type SubmitJobFileOutput should have comment or be unexported (golint)
    • Line 133: warning: exported type S3InputItem should have comment or be unexported (golint)
    • Line 135: warning: exported type SubmitJobS3Input should have comment or be unexported (golint)
    • Line 146: warning: exported type SubmitJobS3Output should have comment or be unexported (golint)
    • Line 148: warning: exported type SubmitJobJDBCInput should have comment or be unexported (golint)
    • Line 159: warning: exported type SubmitJobJDBCOutput should have comment or be unexported (golint)
    • Line 161: warning: exported type CancelJobInput should have comment or be unexported (golint)
    • Line 165: warning: exported type CancelJobOutput should have comment or be unexported (golint)
    • Line 169: warning: exported type GetJobResultsInput should have comment or be unexported (golint)
    • Line 173: warning: exported type GetJobResultsOutput should have comment or be unexported (golint)
    • Line 177: warning: exported type GetJobFeaturesInput should have comment or be unexported (golint)
    • Line 180: warning: exported type GetJobFeaturesOutput should have comment or be unexported (golint)
    • sdk-go/models_params.go
    • Line 18: warning: exported type GetModelDetailsInput should have comment or be unexported (golint)
    • Line 22: warning: exported type GetModelDetailsOutput should have comment or be unexported (golint)
    • Line 26: warning: exported type GetMinimumEnginesOutput should have comment or be unexported (golint)
    • Line 30: warning: exported type GetRelatedModelsInput should have comment or be unexported (golint)
    • Line 34: warning: exported type GetRelatedModelsOutput should have comment or be unexported (golint)
    • Line 38: warning: exported type ListModelsInput should have comment or be unexported (golint)
    • Line 46: warning: exported const ListModelsFilterFieldModelID should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported method ListModelsInput.WithPaging should have comment or be unexported (golint)
    • Line 63: warning: exported method ListModelsInput.WithFilter should have comment or be unexported (golint)
    • Line 68: warning: exported method ListModelsInput.WithFilterAnd should have comment or be unexported (golint)
    • Line 73: warning: exported method ListModelsInput.WithFilterOr should have comment or be unexported (golint)
    • Line 78: warning: exported type ListModelsOutput should have comment or be unexported (golint)
    • Line 83: warning: exported type GetTagsOutput should have comment or be unexported (golint)
    • Line 87: warning: exported type GetTagModelsInput should have comment or be unexported (golint)
    • Line 91: warning: exported type GetTagModelsOutput should have comment or be unexported (golint)
    • Line 96: warning: exported type GetModelDetailsByNameInput should have comment or be unexported (golint)
    • Line 100: warning: exported type ListModelVersionsInput should have comment or be unexported (golint)
    • Line 109: warning: exported const ListModelVersionsFilterFieldVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 119: warning: exported method ListModelVersionsInput.WithPaging should have comment or be unexported (golint)
    • Line 124: warning: exported method ListModelVersionsInput.WithFilter should have comment or be unexported (golint)
    • Line 129: warning: exported method ListModelVersionsInput.WithFilterAnd should have comment or be unexported (golint)
    • Line 134: warning: exported method ListModelVersionsInput.WithFilterOr should have comment or be unexported (golint)
    • Line 139: warning: exported type ListModelVersionsOutput should have comment or be unexported (golint)
    • Line 144: warning: exported type UpdateModelProcessingEnginesInput should have comment or be unexported (golint)
    • Line 151: warning: exported type UpdateModelProcessingEnginesOutput should have comment or be unexported (golint)
    • Line 155: warning: exported type GetModelVersionSampleInputInput should have comment or be unexported (golint)
    • Line 160: warning: exported type GetModelVersionSampleInputOutput should have comment or be unexported (golint)
    • Line 164: warning: exported type GetModelVersionSampleOutputInput should have comment or be unexported (golint)
    • Line 169: warning: exported type GetModelVersionSampleOutputOutput should have comment or be unexported (golint)
    • Line 173: warning: exported type GetLatestModelsOutput should have comment or be unexported (golint)
    • sdk-go/model/dashboard.go
    • Line 5: warning: exported type AlertsListType should have comment or be unexported (golint)
    • Line 10: warning: exported type AlertsList should have comment or be unexported (golint)
    • Line 12: warning: exported type DataProcessedSummary should have comment or be unexported (golint)
    • Line 18: warning: exported type DataProcessingRecent should have comment or be unexported (golint)
    • Line 23: warning: exported type PredictionsMadeSummary should have comment or be unexported (golint)
    • Line 29: warning: exported type PredictionsMadeRecent should have comment or be unexported (golint)
    • Line 34: warning: exported type ActiveUserSummary should have comment or be unexported (golint)
    • Line 44: warning: exported type ActiveModelSummary should have comment or be unexported (golint)
    • Line 53: warning: exported type PrometheusResponse should have comment or be unexported (golint)
    • Line 57: warning: exported type PrometheusData should have comment or be unexported (golint)
    • Line 62: warning: exported type PrometheusResult should have comment or be unexported (golint)
    • sdk-go/model/jobresult.go
    • Line 9: warning: exported type JobResults should have comment or be unexported (golint)
    • Line 36: warning: exported type JobResult should have comment or be unexported (golint)
    • Line 49: warning: comment on exported method JobResult.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • sdk-go/input_file.go
    • Line 16: warning: exported function FileInputReader should have comment or be unexported (golint)
    • Line 22: warning: exported function FileInputFile should have comment or be unexported (golint)
    • sdk-go/client_fake.go
    • Line 17: warning: exported method ClientFake.WithAPIKey should have comment or be unexported (golint)
    • Line 21: warning: exported method ClientFake.WithTeamKey should have comment or be unexported (golint)
    • Line 25: warning: exported method ClientFake.WithOptions should have comment or be unexported (golint)
    • Line 29: warning: exported method ClientFake.Accounting should have comment or be unexported (golint)
    • Line 33: warning: exported method ClientFake.Jobs should have comment or be unexported (golint)
    • Line 37: warning: exported method ClientFake.Models should have comment or be unexported (golint)
    • Line 41: warning: exported method ClientFake.Dashboard should have comment or be unexported (golint)
    • Line 45: warning: exported method ClientFake.Resources should have comment or be unexported (golint)
    • sdk-go/model/model.go
    • Line 7: warning: exported type ModelVersion should have comment or be unexported (golint)
    • Line 11: warning: exported type ModelVersionSummary should have comment or be unexported (golint)
    • Line 17: warning: exported type ModelDetailsTimeout should have comment or be unexported (golint)
    • Line 22: warning: exported type ModelContainerImage should have comment or be unexported (golint)
    • Line 31: warning: exported type ModelLoadStatus should have comment or be unexported (golint)
    • Line 37: warning: exported type ModelRunStatusResult should have comment or be unexported (golint)
    • Line 46: warning: exported type ModelRunStatus should have comment or be unexported (golint)
    • Line 53: warning: exported type ModelTag should have comment or be unexported (golint)
    • Line 61: warning: exported type ModelImage should have comment or be unexported (golint)
    • Line 68: warning: exported type ModelVisibility should have comment or be unexported (golint)
    • Line 73: warning: exported type ModelFeature should have comment or be unexported (golint)
    • Line 79: warning: exported type ModelMetdata should have comment or be unexported (golint)
    • Line 98: warning: exported type ModelVersionDetailsInput should have comment or be unexported (golint)
    • Line 105: warning: exported type ModelVersionDetailsOutput should have comment or be unexported (golint)
    • Line 112: warning: exported type ModelVersionDetailsStatistic should have comment or be unexported (golint)
    • Line 122: warning: exported type ModelVersionDetailsProcessing should have comment or be unexported (golint)
    • Line 127: warning: exported type ModelVersionDetails should have comment or be unexported (golint)
    • Line 156: warning: exported type ModelDetails should have comment or be unexported (golint)
    • Line 176: warning: exported type RelatedModel should have comment or be unexported (golint)
    • Line 191: warning: exported type MinimumEngines should have comment or be unexported (golint)
    • Line 195: warning: exported type ModelWithTags should have comment or be unexported (golint)
    • sdk-go/model/time.go
    • Line 18: warning: exported type ModzyTime should have comment or be unexported (golint)
    • Line 25: warning: exported method ModzyTime.UnmarshalJSON should have comment or be unexported (golint)
    • Line 41: warning: exported method ModzyTime.MarshalJSON should have comment or be unexported (golint)
    • sdk-go/internal/testing/main.go
    • Line 155: warning: comment on exported var SmilingFace should be of the form "SmilingFace ..." (golint)
    • Line 256: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • sdk-go/jobs_client_fake.go
    • Line 25: warning: exported method JobsClientFake.GetJobDetails should have comment or be unexported (golint)
    • Line 29: warning: exported method JobsClientFake.ListJobsHistory should have comment or be unexported (golint)
    • Line 33: warning: exported method JobsClientFake.SubmitJobText should have comment or be unexported (golint)
    • Line 37: warning: exported method JobsClientFake.SubmitJobEmbedded should have comment or be unexported (golint)
    • Line 41: warning: exported method JobsClientFake.SubmitJobFile should have comment or be unexported (golint)
    • Line 45: warning: exported method JobsClientFake.SubmitJobS3 should have comment or be unexported (golint)
    • Line 49: warning: exported method JobsClientFake.SubmitJobJDBC should have comment or be unexported (golint)
    • Line 53: warning: exported method JobsClientFake.WaitForJobCompletion should have comment or be unexported (golint)
    • Line 57: warning: exported method JobsClientFake.CancelJob should have comment or be unexported (golint)
    • Line 61: warning: exported method JobsClientFake.GetJobResults should have comment or be unexported (golint)
    • Line 65: warning: exported method JobsClientFake.GetJobFeatures should have comment or be unexported (golint)
    • sdk-go/model/date.go
    • Line 11: warning: exported const DateFormat should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type ModzyDate should have comment or be unexported (golint)
    • Line 21: warning: exported method ModzyDate.UnmarshalJSON should have comment or be unexported (golint)
    • Line 37: warning: exported method ModzyDate.MarshalJSON should have comment or be unexported (golint)
    • sdk-go/model/resources.go
    • Line 3: warning: exported type ResourcesProcessingModel should have comment or be unexported (golint)
    • Line 14: warning: exported type ResourcesProcessingModelEngine should have comment or be unexported (golint)
    • Line 21: warning: exported type ResourcesProcessingModelEngineCondition should have comment or be unexported (golint)
    • Line 26: warning: exported type ResourcesProcessingModelInputs should have comment or be unexported (golint)
    • Line 30: warning: exported type ResourcesProcessingModelJobs should have comment or be unexported (golint)
    • Line 34: warning: exported type ResourcesProcessingModelDeploymentState should have comment or be unexported (golint)
    • sdk-go/models_client_fake.go
    • Line 26: warning: exported method ModelsClientFake.ListModels should have comment or be unexported (golint)
    • Line 30: warning: exported method ModelsClientFake.GetLatestModels should have comment or be unexported (golint)
    • Line 34: warning: exported method ModelsClientFake.GetMinimumEngines should have comment or be unexported (golint)
    • Line 38: warning: exported method ModelsClientFake.UpdateModelProcessingEngines should have comment or be unexported (golint)
    • Line 42: warning: exported method ModelsClientFake.GetModelDetails should have comment or be unexported (golint)
    • Line 46: warning: exported method ModelsClientFake.GetModelDetailsByName should have comment or be unexported (golint)
    • Line 50: warning: exported method ModelsClientFake.ListModelVersions should have comment or be unexported (golint)
    • Line 54: warning: exported method ModelsClientFake.GetRelatedModels should have comment or be unexported (golint)
    • Line 58: warning: exported method ModelsClientFake.GetModelVersionDetails should have comment or be unexported (golint)
    • Line 62: warning: exported method ModelsClientFake.GetModelVersionSampleInput should have comment or be unexported (golint)
    • Line 66: warning: exported method ModelsClientFake.GetModelVersionSampleOutput should have comment or be unexported (golint)
    • Line 70: warning: exported method ModelsClientFake.GetTags should have comment or be unexported (golint)
    • Line 74: warning: exported method ModelsClientFake.GetTagModels should have comment or be unexported (golint)
    • sdk-go/pagination.go
    • Line 4: warning: exported const DefaultPageSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 7: warning: exported type SortDirection should have comment or be unexported (golint)
    • Line 10: warning: exported const SortDirectionAscending should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported method PagingInput.Next should have comment or be unexported (golint)
    • Line 56: warning: comment on exported method PagingInput.WithFilterOr should be of the form "WithFilterOr ..." (golint)
    • Line 66: warning: exported method PagingInput.WithSort should have comment or be unexported (golint)
    • Line 83: warning: exported type FilterType should have comment or be unexported (golint)
    • Line 86: warning: exported const FilterTypeAnd should have comment (or a comment on this block) or be unexported (golint)
    • Line 90: warning: exported type Filter should have comment or be unexported (golint)
    • sdk-go/dashboard_params.go
    • Line 9: warning: exported type AlertType should have comment or be unexported (golint)
    • Line 12: warning: exported const AlertTypeJobStuck should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported type AlertSummary should have comment or be unexported (golint)
    • Line 29: warning: comment on exported type GetAlertDetailsInput should be of the form "GetAlertDetailsInput ..." (with optional leading article) (golint)
    • Line 40: warning: comment on exported type GetDataProcessedInput should be of the form "GetDataProcessedInput ..." (with optional leading article) (golint)
    • Line 51: warning: exported type GetDataProcessedOutput should have comment or be unexported (golint)
    • Line 56: warning: comment on exported type GetPredictionsMadeInput should be of the form "GetPredictionsMadeInput ..." (with optional leading article) (golint)
    • Line 67: warning: exported type GetPredictionsMadeOutput should have comment or be unexported (golint)
    • Line 72: warning: exported type GetActiveUsersInput should have comment or be unexported (golint)
    • Line 81: warning: exported type GetActiveUsersOutput should have comment or be unexported (golint)
    • Line 85: warning: exported type GetActiveModelsInput should have comment or be unexported (golint)
    • Line 94: warning: exported type GetActiveModelsOutput should have comment or be unexported (golint)
    • Line 98: warning: exported type PrometheusMetricType should have comment or be unexported (golint)
    • Line 101: warning: comment on exported const PrometheusMetricTypeCPURequest should be of the form "PrometheusMetricTypeCPURequest ..." (golint)
    • Line 103: warning: comment on exported const PrometheusMetricTypeCPUAvailable should be of the form "PrometheusMetricTypeCPUAvailable ..." (golint)
    • Line 105: warning: comment on exported const PrometheusMetricTypeCPUUsed should be of the form "PrometheusMetricTypeCPUUsed ..." (golint)
    • Line 107: warning: comment on exported const PrometheusMetricTypeMemoryRequested should be of the form "PrometheusMetricTypeMemoryRequested ..." (golint)
    • Line 109: warning: comment on exported const PrometheusMetricTypeMemoryAvailable should be of the form "PrometheusMetricTypeMemoryAvailable ..." (golint)
    • Line 111: warning: comment on exported const PrometheusMetricTypeMemoryUsed should be of the form "PrometheusMetricTypeMemoryUsed ..." (golint)
    • Line 113: warning: comment on exported const PrometheusMetricTypeCPUOverallUsage should be of the form "PrometheusMetricTypeCPUOverallUsage ..." (golint)
    • Line 115: warning: comment on exported const PrometheusMetricTypeMemoryOverallUsage should be of the form "PrometheusMetricTypeMemoryOverallUsage ..." (golint)
    • Line 117: warning: comment on exported const PrometheusMetricTypeCPUCurrentUsage should be of the form "PrometheusMetricTypeCPUCurrentUsage ..." (golint)
    • Line 121: warning: comment on exported type GetPrometheusMetricInput should be of the form "GetPrometheusMetricInput ..." (with optional leading article) (golint)
    • Line 128: warning: exported type PrometheusValue should have comment or be unexported (golint)
    • Line 133: warning: exported type GetPrometheusMetricOutput should have comment or be unexported (golint)
    • sdk-go/errors.go
    • Line 30: warning: exported method ModzyHTTPError.Cause should have comment or be unexported (golint)
    • sdk-go/input_s3.go
    • Line 3: warning: exported type S3KeyDefinition should have comment or be unexported (golint)
    • Line 14: warning: exported function S3Input should have comment or be unexported (golint)
    • sdk-go/model/job.go
    • Line 1: warning: package comment should be of the form "Package model ..." (golint)
    • Line 4: warning: exported type ModelIdentifier should have comment or be unexported (golint)
    • Line 9: warning: exported type ModelNamedIdentifier should have comment or be unexported (golint)
    • Line 15: warning: exported type JobInputIdentifier should have comment or be unexported (golint)
    • Line 19: warning: exported type User should have comment or be unexported (golint)
    • Line 32: warning: exported type Team should have comment or be unexported (golint)
    • Line 36: warning: exported type SubmitJobResponseInputs should have comment or be unexported (golint)
    • Line 40: warning: exported type SubmitJobResponse should have comment or be unexported (golint)
    • Line 55: warning: exported type JobDetails should have comment or be unexported (golint)
    • Line 78: warning: exported type JobFeatures should have comment or be unexported (golint)
    • Line 84: warning: exported type SubmitJobModelInfo should have comment or be unexported (golint)
    • Line 89: warning: exported type TextInputItem should have comment or be unexported (golint)
    • Line 91: warning: exported type TextInput should have comment or be unexported (golint)
    • Line 96: warning: exported type EmbeddedInputItem should have comment or be unexported (golint)
    • Line 98: warning: exported type EmbeddedInput should have comment or be unexported (golint)
    • Line 103: warning: exported type S3InputItemKey should have comment or be unexported (golint)
    • Line 108: warning: exported type S3InputItem should have comment or be unexported (golint)
    • Line 110: warning: exported type S3Input should have comment or be unexported (golint)
    • Line 118: warning: exported type JDBCInput should have comment or be unexported (golint)
    • Line 127: warning: exported type SubmitTextJob should have comment or be unexported (golint)
    • Line 134: warning: exported type SubmitEmbeddedJob should have comment or be unexported (golint)
    • Line 141: warning: exported type SubmitChunkedJob should have comment or be unexported (golint)
    • Line 147: warning: exported type SubmitS3Job should have comment or be unexported (golint)
    • Line 154: warning: exported type SubmitJDBCJob should have comment or be unexported (golint)
    • sdk-go/accounting_client_fake.go
    • Line 19: warning: exported method AccountingClientFake.GetEntitlements should have comment or be unexported (golint)
    • Line 23: warning: exported method AccountingClientFake.HasEntitlement should have comment or be unexported (golint)
    • Line 27: warning: exported method AccountingClientFake.GetLicense should have comment or be unexported (golint)
    • Line 31: warning: exported method AccountingClientFake.ListAccountingUsers should have comment or be unexported (golint)
    • Line 35: warning: exported method AccountingClientFake.ListProjects should have comment or be unexported (golint)
    • Line 39: warning: exported method AccountingClientFake.GetProjectDetails should have comment or be unexported (golint)
    • sdk-go/dashboard_client_fake.go
    • Line 20: warning: exported method DashboardClientFake.GetAlerts should have comment or be unexported (golint)
    • Line 24: warning: exported method DashboardClientFake.GetAlertDetails should have comment or be unexported (golint)
    • Line 28: warning: exported method DashboardClientFake.GetDataProcessed should have comment or be unexported (golint)
    • Line 32: warning: exported method DashboardClientFake.GetPredictionsMade should have comment or be unexported (golint)
    • Line 36: warning: exported method DashboardClientFake.GetActiveUsers should have comment or be unexported (golint)
    • Line 40: warning: exported method DashboardClientFake.GetActiveModels should have comment or be unexported (golint)
    • Line 44: warning: exported method DashboardClientFake.GetPrometheusMetric should have comment or be unexported (golint)
    • sdk-go/model/sorting.go
    • Line 10: warning: exported type SortedVersions should have comment or be unexported (golint)
    • Line 12: warning: exported method SortedVersions.UnmarshalJSON should have comment or be unexported (golint)
    • Line 21: warning: exported function SortVersions should have comment or be unexported (golint)
    • sdk-go/input_uri.go
    • Line 27: warning: exported function URIEncodedReader should have comment or be unexported (golint)
    • Line 33: warning: exported function URIEncodedString should have comment or be unexported (golint)
    • Line 39: warning: exported function URIEncodedFile should have comment or be unexported (golint)
    • Line 49: warning: exported function URIEncodeReader should have comment or be unexported (golint)
    • Line 63: warning: exported function URIEncodeString should have comment or be unexported (golint)
    • Line 67: warning: exported function URIEncodeFile should have comment or be unexported (golint)
    • sdk-go/jobs_client.go
    • Line 16: warning: exported type JobsClient should have comment or be unexported (golint)
    • Line 193: warning: if block ends with a return statement, so drop this else and outdent its block (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell91%

Misspell Finds commonly misspelled English words