Skip to content

Merge pull request #20 from grafviktor/improvement/12-4 #22

Merge pull request #20 from grafviktor/improvement/12-4

Merge pull request #20 from grafviktor/improvement/12-4 #22

Triggered via push November 25, 2023 21:17
Status Failure
Total duration 19s
Artifacts

lint.yml

on: push
golangci-lint
10s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
golangci-lint: internal/logger/logger.go#L70
Error return value of `l.logFile.Close` is not checked (errcheck)
golangci-lint: internal/utils/utils_test.go#L24
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci-lint: internal/utils/utils_test.go#L32
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci-lint: internal/utils/utils_test.go#L37
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci-lint: internal/utils/utils_test.go#L54
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci-lint: internal/version/version.go#L26
Comment should end in a period (godot)
golangci-lint: internal/version/version.go#L41
Comment should end in a period (godot)
golangci-lint: internal/version/version.go#L46
Comment should end in a period (godot)
golangci-lint: internal/version/version.go#L51
Comment should end in a period (godot)
golangci-lint: internal/logger/logger.go#L10
Comment should end in a period (godot)
golangci-lint: internal/model/host.go#L1
package-comments: should have a package comment (revive)
golangci-lint: internal/model/host.go#L3
exported: exported function NewHost should have comment or be unexported (revive)
golangci-lint: internal/model/host.go#L15
exported: exported type Host should have comment or be unexported (revive)
golangci-lint: internal/model/host.go#L25
exported: exported method Host.Clone should have comment or be unexported (revive)
golangci-lint: internal/constant/constant.go#L1
package-comments: should have a package comment (revive)
golangci-lint: internal/constant/constant.go#L6
exported: exported var ErrNotFound should have comment or be unexported (revive)
golangci-lint: internal/constant/constant.go#L15
exported: exported const ProtocolSSH should have comment or be unexported (revive)
golangci-lint: internal/version/version.go#L56
exported: exported function Print should have comment or be unexported (revive)
golangci-lint: internal/config/config.go#L1
package-comments: should have a package comment (revive)
golangci-lint: internal/config/config.go#L8
exported: exported type Logger should have comment or be unexported (revive)