Add advanced image usage tools with examples #836
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)
|
Setup
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2
|
Loading