fix tests #1709
Annotations
10 errors and 1 warning
Run Linters:
example/server.go#L1
: # github.com/coretrix/hitrix/example
|
Run Linters:
example/server.go#L44
cannot use "search_pool" (untyped string constant) as []string value in struct literal (typecheck)
|
Run Linters:
test/http.go#L1
: # github.com/coretrix/hitrix/test [github.com/coretrix/hitrix/test.test]
|
Run Linters:
test/test.go#L42
cannot use "search_pool" (untyped string constant) as []string value in struct literal (typecheck)
|
Run Linters:
pkg/controller/dev_panel_controller.go#L266
ranges should only be cuddled with assignments used in the iteration (wsl)
|
Run Linters:
pkg/controller/dev_panel_controller.go#L334
only one cuddle assignment allowed before range statement (wsl)
|
Run Linters:
pkg/controller/dev_panel_controller.go#L390
ranges should only be cuddled with assignments used in the iteration (wsl)
|
Run Linters:
pkg/test/test.go#L287
only one cuddle assignment allowed before range statement (wsl)
|
Run Linters:
pkg/controller/dev_panel_controller.go#L316
break with no blank line before (nlreturn)
|
Run Linters:
pkg/controller/dev_panel_controller.go#L395
break with no blank line before (nlreturn)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading