Fix security issue and add go linter #4
Annotations
10 errors and 2 warnings
lint:
notification-server/client.go#L223
Error return value of `client.conn.SetWriteDeadline` is not checked (errcheck)
|
lint:
notification-server/client.go#L254
Error return value of `client.conn.SetWriteDeadline` is not checked (errcheck)
|
lint:
notification-server/server.go#L197
Error return value of `syscall.Dup3` is not checked (errcheck)
|
lint:
notification-server/server.go#L248
Error return value of `syscall.Dup3` is not checked (errcheck)
|
lint:
notification-server/server.go#L224
S1000: should use for range instead of for { select {} } (gosimple)
|
lint:
notification-server/server.go#L215
printf: github.com/sirupsen/logrus.Info call has possible Printf formatting directive %v (govet)
|
lint
issues found
|
lint
not enough arguments in call to fsmgr.Init
|
lint
not enough arguments in call to Init
|
lint
issues found
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/seafile-server/seafile-server. Supported file pattern: go.sum
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/seafile-server/seafile-server. Supported file pattern: go.sum
|