Skip to content

♻️ Fix: code整理 #37

♻️ Fix: code整理

♻️ Fix: code整理 #37

Triggered via push September 22, 2024 09:20
Status Failure
Total duration 56s
Artifacts

test_backend.yml

on: push
setup-go-modules-backend
5s
setup-go-modules-backend
lint-backend
32s
lint-backend
build-backend
31s
build-backend
test-backend
33s
test-backend
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 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#L58
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#L72
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#L92
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)