Skip to content

Add advanced image usage tools with examples #836

Add advanced image usage tools with examples

Add advanced image usage tools with examples #836

Triggered via pull request October 3, 2024 12:13
Status Failure
Total duration 1m 0s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: examples/paint/toolbar.go#L78
Error return value is not checked (errcheck)
Lint: examples/paint/toolbar.go#L164
Error return value is not checked (errcheck)
Lint: examples/loadimageAdvanced/loadimageAdvanced.go#L79
Error return value of `fromfile.SetSurfaceFromFile` is not checked (errcheck)
Lint: examples/loadimageAdvanced/loadimageAdvanced.go#L80
Error return value of `fromrgba.SetSurfaceFromRGBA` is not checked (errcheck)
Lint: examples/loadimageAdvanced/loadimageAdvanced.go#L81
Error return value of `fromurl.SetSurfaceFromURL` is not checked (errcheck)
Lint: examples/paint/canvas.go#L26
appendAssign: append result not assigned to the same slice (gocritic)
Lint: examples/paint/canvas.go#L119
importShadow: shadow of imported package 'image' (gocritic)
Lint: examples/paint/draw.go#L97
appendCombine: can combine chain of 4 appends into one (gocritic)
Lint: examples/paint/draw.go#L62
paramTypeCombine: func(input *image.RGBA, c color.Color, x int, y int) could be replaced with func(input *image.RGBA, c color.Color, x, y int) (gocritic)
Lint: examples/loadimageAdvanced/loadimageAdvanced.go#L31
`wich` is a misspelling of `which` (misspell)
Lint
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2