feat: initialize client && request #9
Annotations
12 errors and 2 warnings
lint:
client.go#L51
var `hdrUserAgentKey` is unused (unused)
|
lint:
client.go#L52
var `hdrAcceptKey` is unused (unused)
|
lint:
client.go#L54
var `hdrContentLengthKey` is unused (unused)
|
lint:
client.go#L55
var `hdrContentEncodingKey` is unused (unused)
|
lint:
client.go#L56
var `hdrLocationKey` is unused (unused)
|
lint:
client.go#L57
var `hdrAuthorizationKey` is unused (unused)
|
lint:
client.go#L58
var `hdrWwwAuthenticateKey` is unused (unused)
|
lint:
client.go#L65
var `jsonCheck` is unused (unused)
|
lint:
client.go#L66
var `xmlCheck` is unused (unused)
|
lint:
request.go#L280
ineffectual assignment to res (ineffassign)
|
staticcheck
Process completed with exit code 1.
|
compliant
The self-hosted runner: lf-runner-02 lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
|
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/.
|
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/.
|