Fix the Go code generation for pseudo-containers #83
Annotations
10 errors and 2 warnings
internal/guibuilder/main.go#L186
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
|
internal/guidefs/layout.go#L26
exported var Layouts should have comment or be unexported
|
internal/guidefs/res.go#L17
exported function WrapResource should have comment or be unexported
|
internal/guidefs/res.go#L21
exported function IconName should have comment or be unexported
|
internal/guidefs/widget.go#L24
exported var Widgets should have comment or be unexported
|
internal/guidefs/widget.go#L30
exported type WidgetInfo should have comment or be unexported
|
internal/guidefs/widget.go#L40
exported method WidgetInfo.IsContainer should have comment or be unexported
|
internal/guidefs/widget.go#L93
if block ends with a return statement, so drop this else and outdent its block
|
internal/guidefs/widget.go#L102
if block ends with a return statement, so drop this else and outdent its block
|
internal/guidefs/widget.go#L860
exported function InitOnce should have comment or be unexported
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading