Use go lint correctly in gitlab-org/security-products/analyzers/common
Use go lint correctly in gitlab-org/security-products/analyzers/common as .gitlab-ci.yml
was set up but does not fully work there.
$ golint ./...
orchestrator/analyzer.go:24:2: exported const DefaultArtifactDir should have comment (or a comment on this block) or be unexported
orchestrator/analyzer.go:32:2: exported const ImportMount should have comment (or a comment on this block) or be unexported
orchestrator/analyzer.go:109:72: method result containerId should be containerID
orchestrator/analyzer.go:228:52: method parameter containerId should be containerID
orchestrator/command.go:44:6: exported type Options should have comment or be unexported
orchestrator/command.go:63:1: exported function MakeFlags should have comment or be unexported
orchestrator/command.go:130:1: exported function MakeAction should have comment or be unexported
table/table.go:17:1: comment on exported function New should be of the form "New ..."
https://gitlab.com/gitlab-org/security-products/analyzers/common/-/jobs/455192022
Edited by Takuya Noguchi