Skip to content

Go: Update all Go snippet tags to include imports in the snippets. #1405

Go: Update all Go snippet tags to include imports in the snippets.

Go: Update all Go snippet tags to include imports in the snippets. #1405

Triggered via pull request November 5, 2024 19:58
Status Success
Total duration 1m 39s
Artifacts

lint-golang.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Lint GoLang
type `httpErr` is unused (unused)
Lint GoLang
func `httpErr.HTTPStatusCode` is unused (unused)
Lint GoLang
func `httpErr.Error` is unused (unused)
Lint GoLang
S1002: should omit comparison to bool constant, can be simplified to `!done` (gosimple)
Lint GoLang
ineffectual assignment to err (ineffassign)
Lint GoLang
ineffectual assignment to err (ineffassign)
Lint GoLang
S1038: should use log.Printf(...) instead of log.Println(fmt.Sprintf(...)) (gosimple)
Lint GoLang
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/