Merge pull request #12 from naohito-T/feature/private-api #35
test_backend.yml
on: push
setup-go-modules-backend
5s
Annotations
5 errors and 4 warnings
lint-backend:
backend/domain/shorturl.go#L4
G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec)
|
lint-backend:
backend/domain/shorturl.go#L17
G401: Use of weak cryptographic primitive (gosec)
|
lint-backend:
backend/internal/infrastructure/dynamo.go#L26
SA1019: aws.EndpointResolverFunc is deprecated: See EndpointResolverWithOptionsFunc (staticcheck)
|
lint-backend:
backend/internal/infrastructure/dynamo.go#L35
SA1019: config.WithEndpointResolver is deprecated: See WithEndpointResolverWithOptions (staticcheck)
|
lint-backend
issues found
|
lint-backend:
backend/internal/infrastructure/dynamo.go#L56
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
lint-backend:
backend/internal/infrastructure/dynamo.go#L70
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
lint-backend:
backend/internal/infrastructure/dynamo.go#L90
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
lint-backend:
backend/internal/rest/router/public.go#L32
var-naming: struct field Url should be URL (revive)
|