Skip to content

refactor code to make the API harder to misuse #360

refactor code to make the API harder to misuse

refactor code to make the API harder to misuse #360

Triggered via pull request January 11, 2025 20:08
Status Failure
Total duration 45s
Artifacts

go-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
go-check / All: multiaddr/main.go#L60
maddr.ForEach is deprecated: use a simple `for _, c := range m` instead. (SA1019)
go-check / All: net/convert.go#L60
ma.ForEach is deprecated: use a simple `for _, c := range m` instead. (SA1019)
go-check / All: net/convert.go#L138
ma.ForEach is deprecated: use a simple `for _, c := range m` instead. (SA1019)
go-check / All: net/convert.go#L175
error strings should not be capitalized (ST1005)
go-check / All: net/convert.go#L206
ma.ForEach is deprecated: use a simple `for _, c := range m` instead. (SA1019)
go-check / All: net/private.go#L118
ma.ForEach is deprecated: use a simple `for _, c := range m` instead. (SA1019)
go-check / All: net/private.go#L179
ma.ForEach is deprecated: use a simple `for _, c := range m` instead. (SA1019)
go-check / All
Process completed with exit code 1.