Skip to content

refactor

refactor #129

Triggered via pull request May 15, 2024 11:01
Status Failure
Total duration 18s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint (1.21): internal/sbi/consumer/udr_service.go#L414
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
lint (1.21): internal/sbi/server.go#L27
type `udm` is unused (unused)
lint (1.21): internal/sbi/server.go#L166
func `bindRouter` is unused (unused)
lint (1.21): internal/sbi/server.go#L241
func `(*Server).unsecureServe` is unused (unused)
lint (1.21): internal/sbi/server.go#L245
func `(*Server).secureServe` is unused (unused)
lint (1.21): internal/sbi/processor/amf3_gpp_access_registration_info_retrieval.go#L12
unnecessary leading newline (whitespace)
lint (1.21): internal/sbi/processor/amf3_gpp_access_registration_info_retrieval.go#L41
unnecessary trailing newline (whitespace)
lint (1.21): internal/sbi/processor/amf_non3_gpp_access_registration_info_retrieval.go#L46
unnecessary trailing newline (whitespace)
lint (1.21): internal/sbi/processor/amf_registration_for_non3_gpp_access.go#L68
unnecessary trailing newline (whitespace)
lint (1.21)
Restore cache failed: Dependencies file is not found in /home/runner/work/udm/udm. Supported file pattern: go.sum