Sending the question back with the answer #785
Annotations
7 errors and 1 warning
golangci-lint:
conn.go#L1170
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
conn.go#L1179
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
conn.go#L1171
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to create netip.Addr from TypeA resource\")" (err113)
|
golangci-lint:
conn.go#L1180
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to create netip.Addr from TypeAAAA resource\")" (err113)
|
golangci-lint:
conn.go#L1185
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"Unhandled resource type in answer\")" (err113)
|
golangci-lint:
conn.go#L1163
missing cases in switch of type dnsmessage.Type: dnsmessage.TypeNS, dnsmessage.TypeCNAME, dnsmessage.TypeSOA, dnsmessage.TypePTR, dnsmessage.TypeMX, dnsmessage.TypeTXT, dnsmessage.TypeSRV, dnsmessage.TypeOPT, dnsmessage.TypeWKS, dnsmessage.TypeHINFO, dnsmessage.TypeMINFO, dnsmessage.TypeAXFR, dnsmessage.TypeALL (exhaustive)
|
golangci-lint
issues found
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/mdns/mdns. Supported file pattern: go.sum
|
Loading