Update linting and simplify code #11
Annotations
1 error and 5 warnings
Lint
issues found
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-task@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-task@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint:
goodreads/client.go#L99
var-naming: method GetBooksByIds should be GetBooksByIDs (revive)
|
Lint:
goodreads/client.go#L156
var-naming: struct field BookIds should be BookIDs (revive)
|
Lint:
server/router.go#L53
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|