feat: initialize client && request #10
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/.
|