add --source Parameter #629
Annotations
10 errors and 10 warnings
lint:
src/utils/crypto.go#L10
import 'filippo.io/age' is not allowed from list 'Main' (depguard)
|
lint:
src/utils/proxy.go#L12
import 'github.com/valyala/fasthttp/fasthttpproxy' is not allowed from list 'Main' (depguard)
|
lint:
src/utils/proxy.go#L14
import 'h12.io/socks' is not allowed from list 'Main' (depguard)
|
lint:
src/utils/utils.go#L12
import 'github.com/mitchellh/mapstructure' is not allowed from list 'Main' (depguard)
|
lint:
src/core/http/http.go#L33
import 'github.com/corpix/uarand' is not allowed from list 'Main' (depguard)
|
lint:
src/core/http/http.go#L34
import 'github.com/valyala/fasthttp' is not allowed from list 'Main' (depguard)
|
lint:
src/core/http/http.go#L37
import 'github.com/Arriven/db1000n/src/utils' is not allowed from list 'Main' (depguard)
|
lint:
src/job/config/config.go#L38
import 'github.com/Arriven/db1000n/src/utils' is not allowed from list 'Main' (depguard)
|
lint:
src/job/config/updater.go#L12
import 'github.com/Arriven/db1000n/src/utils' is not allowed from list 'Main' (depguard)
|
lint:
src/utils/metrics/prometheus.go#L29
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint:
src/utils/proxy.go#L29
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
src/core/http/http.go#L106
unused-parameter: parameter 'logger' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
src/utils/metrics/prometheus.go#L107
unused-parameter: parameter 'clientID' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
src/utils/metrics/prometheus.go#L161
unused-parameter: parameter 'clientID' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
src/job/utils.go#L46
unused-parameter: parameter 'globalConfig' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
src/job/utils.go#L63
unused-parameter: parameter 'globalConfig' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
src/job/utils.go#L90
unused-parameter: parameter 'globalConfig' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
src/job/utils.go#L109
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|