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