HM24 (DO NOT MERGE) #646
Annotations
10 errors and 1 warning
backend/testutil/testutil.go#L70
unused-parameter: parameter 'readOnly' seems to be unused, consider removing or renaming it as _ (revive)
|
backend/testutil/testutil.go#L78
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
backend/testutil/testutil.go#L82
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
backend/cmd/seed-daemon/main.go#L11
G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
|
backend/cmd/seed-daemon/main.go#L1
package-comments: should have a package comment (revive)
|
backend/daemon/api/documents/v1alpha/comments_test.go#L5
dot-imports: should not use dot imports (revive)
|
backend/daemon/api/documents/v1alpha/documents.go#L630
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
backend/daemon/api/documents/v1alpha/documents.go#L383
exported: exported method Server.ListDocumentDrafts should have comment or be unexported (revive)
|
backend/lndhub/lndhub.go#L609
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
backend/lndhub/lndhub.go#L154
unexported-return: exported method Create returns unexported type lndhub.createResponse, which can be annoying to use (revive)
|
|
This job failed
Loading