Refactor SMF code for readability, conciseness, and modularity #382
Annotations
10 errors and 1 warning
lint (1.21):
internal/context/datapath.go#L312
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint (1.21):
internal/sbi/api_upi.go#L72
File is not `gofumpt`-ed (gofumpt)
|
lint (1.21):
internal/sbi/processor/association.go#L263
S1023: redundant break statement (gosimple)
|
lint (1.21):
internal/sbi/processor/pdu_session.go#L130
shadow: declaration of "err" shadows declaration at line 83 (govet)
|
lint (1.21):
internal/sbi/processor/pdu_session.go#L152
shadow: declaration of "err" shadows declaration at line 83 (govet)
|
lint (1.21):
internal/sbi/processor/pdu_session.go#L185
shadow: declaration of "err" shadows declaration at line 83 (govet)
|
lint (1.21):
internal/sbi/processor/pdu_session_test.go#L648
shadow: declaration of "err" shadows declaration at line 593 (govet)
|
lint (1.21):
internal/context/datapath.go#L50
line is 125 characters (lll)
|
lint (1.21):
internal/context/sm_context.go#L541
line is 164 characters (lll)
|
lint (1.21):
internal/context/sm_context.go#L572
line is 128 characters (lll)
|
lint (1.21)
Restore cache failed: Dependencies file is not found in /home/runner/work/smf/smf. Supported file pattern: go.sum
|