Backend abstraction layer #963
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
|