Skip to content

Add New GPU Texture Backend for advanced Usages (see paint example !) #770

Add New GPU Texture Backend for advanced Usages (see paint example !)

Add New GPU Texture Backend for advanced Usages (see paint example !) #770

Triggered via pull request September 24, 2024 09:47
Status Failure
Total duration 46s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: ReflectiveBoundTexture.go#L62
paramTypeCombine: func(width int, height int, c color.Color, commit bool) error could be replaced with func(width, height int, c color.Color, commit bool) error (gocritic)
Lint: ReflectiveBoundTexture.go#L106
paramTypeCombine: func(width float32, height float32, options ImguiImageVOptionStruct) could be replaced with func(width, height float32, options ImguiImageVOptionStruct) (gocritic)
Lint: ReflectiveBoundTexture.go#L122
paramTypeCombine: func(width float32, height float32, options ImguiImageVOptionStruct) could be replaced with func(width, height float32, options ImguiImageVOptionStruct) (gocritic)
Lint: ReflectiveBoundTexture.go#L139
paramTypeCombine: func(id string, width float32, height float32, options ImguiImageVOptionStruct) could be replaced with func(id string, width, height float32, options ImguiImageVOptionStruct) (gocritic)
Lint: ReflectiveBoundTexture.go#L38
Comment should end in a period (godot)
Lint: ReflectiveBoundTexture.go#L194
Comment should end in a period (godot)
Lint: ReflectiveBoundTexture.go#L40
(*ReflectiveBoundTexture).commit - result 0 (*github.com/AllenDang/giu.ReflectiveBoundTexture) is never used (unparam)
Lint: ReflectiveBoundTexture.go#L79
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"RGBA Result is nil\")" (err113)
Lint: ReflectiveBoundTexture.go#L100
composites: github.com/AllenDang/cimgui-go.Vec2 struct literal uses unkeyed fields (govet)
Lint: ReflectiveBoundTexture.go#L101
composites: github.com/AllenDang/cimgui-go.Vec2 struct literal uses unkeyed fields (govet)