Skip to content

refactor code to make the API harder to misuse #361

refactor code to make the API harder to misuse

refactor code to make the API harder to misuse #361

Triggered via pull request January 11, 2025 21:44
Status Failure
Total duration 46s
Artifacts

go-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
go-check / All: multiaddr.go#L56
error strings should not be capitalized (ST1005)
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.