Merge branch 'master' of github.com:diadata-org/diadata #3547
Annotations
10 errors and 3 warnings
lint:
pkg/utils/probes/probe.go#L46
executeProbe - result 0 (bool) is never used (unparam)
|
lint:
pkg/dia/nft/nftData-scrapers/cryptokitties.go#L59
exported fields should be annotated with the "json" tag (musttag)
|
lint:
pkg/dia/nft/nftData-scrapers/nbatopshot.go#L54
SA1019: grpc.WithInsecure is deprecated: use WithTransportCredentials and insecure.NewCredentials() instead. Will be supported throughout 1.x. (staticcheck)
|
lint:
pkg/http/restServer/kafkaApi/kafkaApi.go#L106
pass []any as any to func append func([]interface{}, ...interface{}) []interface{} (asasalint)
|
lint:
pkg/utils/downloadResource.go#L92
response body must be closed (bodyclose)
|
lint:
pkg/utils/downloadResource.go#L265
response body must be closed (bodyclose)
|
lint:
pkg/utils/downloadResource.go#L254
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
|
lint:
pkg/dia/nft/nftTrade-scrapers/blurV1.go#L676
(*BlurV1Scraper).findERC20Transfers - result 1 (error) is always nil (unparam)
|
lint:
pkg/dia/nft/nftTrade-scrapers/blurV1.go#L724
(*BlurV1Scraper).findERC721Transfers - result 1 (error) is always nil (unparam)
|
lint:
pkg/dia/nft/nftTrade-scrapers/looksrare.go#L490
`(*LooksRareScraper).notifyTrade` - `priceDec` is unused (unparam)
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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
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/
|