chore: update template files #13
Annotations
10 errors and 4 warnings
lint:
counter.go#L38
return with no blank line before (nlreturn)
|
lint:
counter_test.go#L69
return with no blank line before (nlreturn)
|
lint:
counter_test.go#L10
Function TestCounter missing the call to method parallel
|
lint:
counter_test.go#L17
Function TestCounter missing the call to method parallel in the test run
|
lint:
counter_test.go#L24
Function TestCounter missing the call to method parallel in the test run
|
lint:
counter_test.go#L31
Function TestCounter missing the call to method parallel in the test run
|
lint:
counter_test.go#L11
variable name 'c' is too short for the scope of its usage (varnamelen)
|
lint:
examples_test.go#L22
variable name 'c' is too short for the scope of its usage (varnamelen)
|
lint:
examples_test.go#L34
variable name 'c' is too short for the scope of its usage (varnamelen)
|
lint:
counter.go#L136
for statements should only be cuddled with assignments used in the iteration (wsl)
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
counter_test.go#L13
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
counter_test.go#L36
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
counter_test.go#L48
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|