Skip to content

feat: initialize client && request #10

feat: initialize client && request

feat: initialize client && request #10

Triggered via pull request May 23, 2024 02:12
Status Failure
Total duration 43s
Artifacts

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
staticcheck
Process completed with exit code 1.
lint: client.go#L52
var `hdrUserAgentKey` is unused (unused)
lint: client.go#L53
var `hdrAcceptKey` is unused (unused)
lint: client.go#L55
var `hdrContentLengthKey` is unused (unused)
lint: client.go#L56
var `hdrContentEncodingKey` is unused (unused)
lint: client.go#L57
var `hdrLocationKey` is unused (unused)
lint: client.go#L58
var `hdrAuthorizationKey` is unused (unused)
lint: client.go#L59
var `hdrWwwAuthenticateKey` is unused (unused)
lint: client.go#L66
var `jsonCheck` is unused (unused)
lint: client.go#L67
var `xmlCheck` is unused (unused)
lint: request.go#L286
ineffectual assignment to res (ineffassign)
compliant
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. 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: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.