Gofmt formats Go programs. We run gofmt -s
on your code, where -s
is for the "simplify" command
No problems detected. Good job!
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!
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.
No problems detected. Good job!
Golint is a linter for Go source code.
-
talend-rest-go/plan.go
- Line 16: warning: exported type PlanQuery should have comment or be unexported (golint)
- Line 25: warning: exported type PlanCreate should have comment or be unexported (golint)
- Line 43: warning: exported type PlanCreated should have comment or be unexported (golint)
- Line 51: warning: exported type PlanRunConfigRequest should have comment or be unexported (golint)
- Line 60: warning: exported type PlanRunConfigResponse should have comment or be unexported (golint)
- Line 65: warning: exported type PlanRunConfig should have comment or be unexported (golint)
- Line 104: warning: exported type PlanAvailable should have comment or be unexported (golint)
- Line 131: warning: exported type PlanByID should have comment or be unexported (golint)
- Line 152: warning: exported type ExecutionStep should have comment or be unexported (golint)
- Line 217: warning: exported method Client.GetPlans should have comment or be unexported (golint)
- Line 239: warning: exported method Client.GetPlanByID should have comment or be unexported (golint)
- Line 260: warning: exported method Client.CreatePlanFromPlainFile should have comment or be unexported (golint)
- Line 270: warning: exported method Client.CreatePlanFromPlainJSON should have comment or be unexported (golint)
- Line 282: warning: exported method Client.CreatePlan should have comment or be unexported (golint)
- Line 298: warning: exported method Client.CreatePlanFromRawJson should have comment or be unexported (golint)
- Line 321: warning: exported method Client.CreatePlanFromRawFile should have comment or be unexported (golint)
- Line 331: warning: exported method Client.DeletePlan should have comment or be unexported (golint)
- Line 345: warning: exported method Client.ParsePlan should have comment or be unexported (golint)
- Line 410: warning: exported method Client.UpdatePlanFromRawJson should have comment or be unexported (golint)
- Line 433: warning: exported method Client.UpdatePlanFromRawFile should have comment or be unexported (golint)
- Line 443: warning: exported method Client.UpdatePlanFromPlainFile should have comment or be unexported (golint)
- Line 453: warning: exported method Client.UpdatePlanFromPlainJson should have comment or be unexported (golint)
- Line 465: warning: exported method Client.UpdatePlan should have comment or be unexported (golint)
- Line 481: warning: exported method Client.GetPlanRunConfigByPlanId should have comment or be unexported (golint)
- Line 507: warning: exported method Client.DeletePlanRunConfigByPlanId should have comment or be unexported (golint)
- Line 521: warning: exported method Client.UpdatePlanRunConfigFromRawFile should have comment or be unexported (golint)
- Line 531: warning: exported method Client.UpdatePlanRunConfigFromRawJson should have comment or be unexported (golint)
- Line 558: warning: exported method Client.UpdatePlanRunConfigFromPlainFile should have comment or be unexported (golint)
- Line 569: warning: exported method Client.UpdatePlanRunConfigFromPlainJson should have comment or be unexported (golint)
- Line 581: warning: exported method Client.UpdatePlanRunConfig should have comment or be unexported (golint)
-
talend-rest-go/remote_engine.go
- Line 9: warning: exported const RemoteEngineUrl should have comment or be unexported (golint)
- Line 11: warning: exported type RemoteEngine should have comment or be unexported (golint)
- Line 44: warning: exported type RuntimeRunProfile should have comment or be unexported (golint)
- Line 56: warning: exported method Client.GetRemoteEngines should have comment or be unexported (golint)
- Line 77: warning: exported method Client.GetRemoteEnginesByEngineId should have comment or be unexported (golint)
- Line 98: warning: exported method Client.DeleteRemoteEngines should have comment or be unexported (golint)
- Line 112: warning: exported method Client.GetRemoteEnginesRunProfile should have comment or be unexported (golint)
- Line 133: warning: exported method Client.GetRemoteEnginesRunProfileByProfileId should have comment or be unexported (golint)
-
talend-rest-go/remote_engine_cluster.go
- Line 12: warning: exported type RemoteEngineCluster should have comment or be unexported (golint)
- Line 36: warning: exported type ClusterRunProfile should have comment or be unexported (golint)
- Line 70: warning: exported method Client.GetRemoteEngineClustersByClusterID should have comment or be unexported (golint)
- Line 91: warning: exported method Client.CreateRemoteEngineClustersFromRawJSON should have comment or be unexported (golint)
- Line 114: warning: exported method Client.DeleteRemoteEngineClusters should have comment or be unexported (golint)
- Line 128: warning: exported method Client.GetRemoteEngineClustersRunProfile should have comment or be unexported (golint)
- Line 149: warning: exported method Client.GetRemoteEngineClustersRunProfileByProfileID should have comment or be unexported (golint)
-
talend-rest-go/task.go
- Line 15: warning: exported const TasksUrl should have comment or be unexported (golint)
- Line 17: warning: exported type TaskQuery should have comment or be unexported (golint)
- Line 29: warning: exported type TaskCreate should have comment or be unexported (golint)
- Line 50: warning: exported type TaskCreated should have comment or be unexported (golint)
- Line 89: warning: exported type TaskById should have comment or be unexported (golint)
- Line 143: warning: exported type TaskRunConfigRequest should have comment or be unexported (golint)
- Line 152: warning: exported type TaskRunConfigResponse should have comment or be unexported (golint)
- Line 157: warning: exported type TaskRunConfig should have comment or be unexported (golint)
- Line 198: warning: exported method Client.GetTasks should have comment or be unexported (golint)
- Line 220: warning: exported method Client.GetTaskById should have comment or be unexported (golint)
- Line 241: warning: exported method Client.CreateTaskFromRawJson should have comment or be unexported (golint)
- Line 264: warning: exported method Client.CreateTask should have comment or be unexported (golint)
- Line 280: warning: exported method Client.ParseTask should have comment or be unexported (golint)
- Line 337: warning: exported method Client.CreateTaskFromRawFile should have comment or be unexported (golint)
- Line 347: warning: exported method Client.CreateTaskFromPlainFile should have comment or be unexported (golint)
- Line 363: warning: exported method Client.CreateTaskFromPlainJson should have comment or be unexported (golint)
- Line 374: warning: exported method Client.UpdateTask should have comment or be unexported (golint)
- Line 392: warning: exported method Client.UpdateTaskFromPlainJson should have comment or be unexported (golint)
- Line 403: warning: exported method Client.UpdateTaskFromRawFile should have comment or be unexported (golint)
- Line 413: warning: exported method Client.UpdateTaskFromRawJson should have comment or be unexported (golint)
- Line 436: warning: exported method Client.DeleteTask should have comment or be unexported (golint)
- Line 450: warning: exported method Client.GetTaskRunConfigByTaskId should have comment or be unexported (golint)
- Line 476: warning: exported method Client.DeleteTaskRunConfigByTaskId should have comment or be unexported (golint)
- Line 490: warning: exported method Client.UpdateTaskRunConfigFromRawFile should have comment or be unexported (golint)
- Line 500: warning: exported method Client.UpdateTaskRunConfigFromRawJson should have comment or be unexported (golint)
- Line 527: warning: exported method Client.UpdateTaskRunConfigFromPlainFile should have comment or be unexported (golint)
- Line 538: warning: exported method Client.UpdateTaskRunConfigFromPlainJson should have comment or be unexported (golint)
- Line 550: warning: exported method Client.UpdateTaskRunConfig should have comment or be unexported (golint)
-
talend-rest-go/workspace.go
- Line 9: warning: exported const WorkspacesUrl should have comment or be unexported (golint)
- Line 11: warning: exported type Workspace should have comment or be unexported (golint)
- Line 24: warning: exported method Client.GetWorkspaces should have comment or be unexported (golint)
Checks whether your project has a LICENSE file.
No problems detected. Good job!
IneffAssign detects ineffectual assignments in Go code.
Misspell Finds commonly misspelled English words
No problems detected. Good job!