Skip to content

fix: log.Error() -> log.Errorf() #4

fix: log.Error() -> log.Errorf()

fix: log.Error() -> log.Errorf() #4

Triggered via push April 16, 2024 09:43
Status Failure
Total duration 38s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: utils/network.go#L4
field `host` is unused (unused)
lint: utils/network.go#L5
field `port` is unused (unused)
lint: utils/network.go#L6
field `ssl` is unused (unused)
lint: utils/network.go#L7
field `timeout` is unused (unused)
lint: packets/oidb/builder.go#L11
var `oidbLogger` is unused (unused)
lint: client/base.go#L38
field `lock` is unused (unused)
lint: client/resultStore.go#L13
var `resultLogger` is unused (unused)
lint: client/event.go#L49
S1034: assigning the result of this type assertion to a variable (switch msg := msg.(type)) could eliminate type assertions in switch cases (gosimple)
lint: client/event.go#L51
S1034(related information): could eliminate this type assertion (gosimple)
lint: client/event.go#L53
S1034(related information): could eliminate this type assertion (gosimple)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.