Skip to content

Backend abstraction layer #963

Backend abstraction layer

Backend abstraction layer #963

Triggered via pull request January 8, 2025 15:26
Status Failure
Total duration 1m 18s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: Backend.go#L41
Error return value of `b.GLFWBackend.SetSwapInterval` is not checked (errcheck)
Lint: Backend.go#L34
paramTypeCombine: func(mode MasterWindowFlags, value MasterWindowFlags) could be replaced with func(mode, value MasterWindowFlags) (gocritic)
Lint: Backend.go#L11
Comment should end in a period (godot)
Lint: Backend.go#L18
exported: type name will be used as giu.GIUBackend by other packages, and that stutters; consider calling this Backend (revive)
Lint: Backend.go#L28
exported: exported function NewGLFWBackend should have comment or be unexported (revive)
Lint: Backend.go#L39
exported: exported method GLFWBackend.SetSwapInterval should have comment or be unexported (revive)
Lint: Backend.go#L45
exported: exported method GLFWBackend.SetWindowFlags should have comment or be unexported (revive)
Lint: Backend.go#L42
return statements should not be cuddled if block has more than two lines (wsl)
Lint: MasterWindow.go#L103
only one cuddle assignment allowed before for statement (wsl)
Lint
issues found