programkind: return MIME type & file extension, swap magic library #1420
style.yaml
on: pull_request
check gofmt
21s
check goimports
31s
golangci-lint
1m 36s
Lint
43s
Annotations
12 errors
check gofmt:
pkg/programkind/programkind.go#L141
illegal label declaration
|
check gofmt:
pkg/programkind/programkind.go#L142
expected ';', found 'return'
|
check gofmt
Process completed with exit code 2.
|
check goimports:
pkg/programkind/programkind.go#L141
illegal label declaration
|
check goimports:
pkg/programkind/programkind.go#L142
expected ';', found 'return'
|
check goimports
Process completed with exit code 2.
|
golangci-lint:
pkg/action/scan.go#L21
could not import github.com/chainguard-dev/malcontent/pkg/programkind (-: # github.com/chainguard-dev/malcontent/pkg/programkind
|
golangci-lint:
pkg/programkind/programkind.go#L141
syntax error: unexpected : at end of statement) (typecheck)
|
golangci-lint:
pkg/programkind/programkind.go#L141
syntax error: unexpected : at end of statement (typecheck)
|
golangci-lint:
pkg/programkind/programkind.go#L141
illegal label declaration (typecheck)
|
golangci-lint:
pkg/programkind/programkind.go#L142
expected ';', found 'return' (typecheck)
|
golangci-lint
issues found
|