Skip to content

mxresolv.Lookup() now properly randomized hosts in some situations #156

mxresolv.Lookup() now properly randomized hosts in some situations

mxresolv.Lookup() now properly randomized hosts in some situations #156

Triggered via pull request June 20, 2023 23:28
Status Failure
Total duration 2m 5s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yaml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

9 errors
lint (ubuntu-latest): mxresolv/mxresolv.go#L126
builtinShadowDecl: shadowing of predeclared identifier: print (gocritic)
lint (ubuntu-latest): mxresolv/mxresolv.go#L141
commentFormatting: put a space between `//` and comment text (gocritic)
lint (ubuntu-latest): mxresolv/mxresolv_test.go#L182
commentFormatting: put a space between `//` and comment text (gocritic)
lint (ubuntu-latest): mxresolv/mxresolv_test.go#L288
commentFormatting: put a space between `//` and comment text (gocritic)
lint (ubuntu-latest): mxresolv/mxresolv_test.go#L287
todoCommentWithoutDetail: may want to add detail/assignee to this TODO/FIXME/BUG comment (gocritic)
lint (ubuntu-latest): mxresolv/mxresolv.go#L42
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint (ubuntu-latest): mxresolv/mxresolv.go#L114
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint (ubuntu-latest): mxresolv/dns_test.go#L44
S1023: redundant `return` statement (gosimple)
lint (ubuntu-latest)
issues found