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