Skip to content

Fix Golangci-lint errors #30

Fix Golangci-lint errors

Fix Golangci-lint errors #30

Triggered via pull request May 10, 2024 09:56
Status Failure
Total duration 36s
Artifacts

linters.yaml

on: pull_request
golangci-lint
25s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
golangci-lint
issues found
golangci-lint: api/api.go#L171
var-naming: don't use underscores in Go names; const Verbose_High should be VerboseHigh (revive)
golangci-lint: api/api.go#L172
var-naming: don't use underscores in Go names; const Verbose_Medium should be VerboseMedium (revive)
golangci-lint: api/api.go#L173
var-naming: don't use underscores in Go names; const Verbose_Low should be VerboseLow (revive)
golangci-lint: api/v1/api_v1_exports.go#L99
unexported-return: exported func GetIsiExports returns unexported type *v1.getIsiExportsResp, which can be annoying to use (revive)
golangci-lint: api/v1/api_v1_snapshots.go#L31
unexported-return: exported func GetIsiSnapshots returns unexported type *v1.getIsiSnapshotsResp, which can be annoying to use (revive)
golangci-lint: api/v1/api_v1_snapshots.go#L171
unexported-return: exported func GetIsiSnapshotFolderWithSize returns unexported type *v1.getIsiVolumeSizeResp, which can be annoying to use (revive)
golangci-lint: api/v1/api_v1_types.go#L47
var-naming: type AclRequest should be ACLRequest (revive)
golangci-lint: api/v1/api_v1_types.go#L93
var-naming: struct field Id should be ID (revive)
golangci-lint: api/v1/api_v1_types.go#L98
var-naming: struct field Id should be ID (revive)
golangci-lint: api/v1/api_v1_types.go#L118
var-naming: struct field Id should be ID (revive)