Multiparty #350
Annotations
9 errors and 1 warning
Run golangci-lint:
broadcastTypes.go#L46
field `ttl` is unused (unused)
|
Run golangci-lint:
broadcastTypes.go#L70
func `(*responseMsg).valid` is unused (unused)
|
Run golangci-lint:
broadcastTypes.go#L331
field `from` is unused (unused)
|
Run golangci-lint:
broadcastTypes.go#L245
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
Run golangci-lint:
broadcastTypes.go#L251
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
Run golangci-lint:
broadcast.go#L40
S1019: should use make(chan struct{}) instead (gosimple)
|
Run golangci-lint:
clientserver.go#L77
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Run golangci-lint:
broadcastTypes.go#L353
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Run golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading