fix vet errors #3
Annotations
10 errors and 2 warnings
test
this value of err is never used (SA4006)
|
test
should use time.Since instead of time.Now().Sub (S1012)
|
test
redundant return statement (S1023)
|
test
func isTimeout is unused (U1000)
|
test
func tcpBroadcastAddress is unused (U1000)
|
test
should use !strings.Contains(url, "://") instead (S1003)
|
test
field server is unused (U1000)
|
test
field info is unused (U1000)
|
test
should use !strings.Contains(address, "://") instead (S1003)
|
test
this value of err is never used (SA4006)
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Restore cache failed: Dependencies file is not found in /home/runner/work/nsq-go/nsq-go. Supported file pattern: go.sum
|