Optionally record user activity in web frontend to database for analysis #44
Annotations
6 errors and 4 warnings
golangci-lint:
analytics/server.go#L43
`if err != nil` has complex nested blocks (complexity: 2) (nestif)
|
golangci-lint:
analytics/index_dev.go#L10
index is a global variable (gochecknoglobals)
|
golangci-lint:
analytics/server.go#L94
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
golangci-lint:
analytics/server.go#L104
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
golangci-lint:
analytics/server.go#L113
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
golangci-lint
issues found
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, 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/
|
golangci-lint:
analytics/server.go#L93
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
analytics/server.go#L103
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
analytics/server.go#L112
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading