Skip to content

update dependencies and add golangci lint action #6

update dependencies and add golangci lint action

update dependencies and add golangci lint action #6

Triggered via push August 21, 2024 14:28
Status Failure
Total duration 40s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: project_server/project_server.go#L120
exitAfterDefer: log.Fatalf will exit, and `defer projectFile.Close()` will not run (gocritic)
lint: project_client/project_client.go#L46
exitAfterDefer: log.Fatalf will exit, and `defer cancel()` will not run (gocritic)
lint: project_client/project_client.go#L57
exitAfterDefer: log.Fatalf will exit, and `defer cancel()` will not run (gocritic)
lint: project_client/project_client.go#L79
exitAfterDefer: log.Fatalf will exit, and `defer cancel()` will not run (gocritic)
lint: project_server/project_server.go#L96
G102: Binds to all network interfaces (gosec)
lint: project_server/project_server.go#L127
G115: integer overflow conversion int -> uint32 (gosec)
lint: project_server/project_server.go#L25
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: project_server/project_server.go#L35
var-naming: method parameter projectId should be projectID (revive)
lint: project_server/project_server.go#L52
var-naming: var projectId should be projectID (revive)
lint: project_client/project_client.go#L18
unnecessary leading newline (whitespace)