fix: lint #189
Annotations
10 errors and 1 warning
Build (8.12.2):
pkg/hyperpic/image/type.go#L39
string `svg` has 2 occurrences, make it a constant (goconst)
|
Build (8.12.2):
pkg/hyperpic/image/type.go#L43
string `jpeg` has 2 occurrences, make it a constant (goconst)
|
Build (8.12.2):
pkg/hyperpic/image/type.go#L42
string `jpg` has 2 occurrences, make it a constant (goconst)
|
Build (8.12.2):
cmd/hyperpic/app/controller/image_controller.go#L164
string `application/octet-stream` has 2 occurrences, make it a constant (goconst)
|
Build (8.12.2):
cmd/hyperpic/app/container/config_service.go#L57
string `/var/lib/` has 2 occurrences, make it a constant (goconst)
|
Build (8.12.2):
pkg/hyperpic/image/options.go#L117
commentFormatting: put a space between `//` and comment text (gocritic)
|
Build (8.12.2):
pkg/hyperpic/image/option_parser.go#L20
Comment should end in a period (godot)
|
Build (8.12.2):
pkg/hyperpic/image/option_parser.go#L25
Comment should end in a period (godot)
|
Build (8.12.2):
pkg/hyperpic/image/option_parser.go#L162
Comment should end in a period (godot)
|
Build (8.12.2):
pkg/hyperpic/image/process.go#L22
File is not `gofmt`-ed with `-s` (gofmt)
|
Build (8.12.2)
Restore cache failed: Dependencies file is not found in /home/runner/work/hyperpic/hyperpic. Supported file pattern: go.sum
|