fix: properly implement JSON merge patch for Software #511
Annotations
10 errors and 2 warnings
linters:
internal/handlers/software.go#L179
Function 'PatchSoftware' is too long (84 > 80) (funlen)
|
linters:
internal/handlers/software.go#L6
File is not `gofmt`-ed with `-s` (gofmt)
|
linters:
internal/handlers/software.go#L5
File is not `gofumpt`-ed (gofumpt)
|
linters:
internal/handlers/software.go#L227
Consider pre-allocating `expectedURLs` (prealloc)
|
linters:
internal/handlers/software.go#L204
unnecessary conversion (unconvert)
|
linters:
internal/handlers/software.go#L192
block should not end with a whitespace (or comment) (wsl)
|
linters:
internal/handlers/software.go#L209
block should not end with a whitespace (or comment) (wsl)
|
linters:
internal/handlers/software.go#L206
only one cuddle assignment allowed before if statement (wsl)
|
linters:
internal/handlers/software.go#L210
expressions should not be cuddled with blocks (wsl)
|
linters:
internal/handlers/software.go#L216
block should not end with a whitespace (or comment) (wsl)
|
linters:
internal/handlers/software.go#L205
var-naming: var softwareJson should be softwareJSON (revive)
|
linters:
internal/handlers/software.go#L212
var-naming: var updatedJson should be updatedJSON (revive)
|