[FlexFec] Adding FlexFec Flex variant encoder implementation #634
lint.yaml
on: pull_request
lint
/
Metadata
21s
lint
/
Go
49s
Annotations
11 errors and 11 warnings
Invalid Go version:
go.mod#L3
Found 1.15. Expected 1.19
|
lint / Go:
pkg/flexfec/flexfec_encoder.go#L121
Error return value of `mediaPacket.MarshalTo` is not checked (errcheck)
|
lint / Go:
pkg/flexfec/util/bitarray.go#L63
assignOp: replace `b = b << uint(startBit)` with `b <<= uint(startBit)` (gocritic)
|
lint / Go:
pkg/flexfec/util/bitarray.go#L69
assignOp: replace `result = result & (1<<uint(j-i+1) - 1)` with `result &= (1<<uint(j-i+1) - 1)` (gocritic)
|
lint / Go:
pkg/flexfec/flexfec_encoder.go#L38
unslice: could simplify mediaPackets[:] to mediaPackets (gocritic)
|
lint / Go:
pkg/flexfec/flexfec_coverage.go#L15
File is not `gofumpt`-ed (gofumpt)
|
lint / Go:
pkg/flexfec/flexfec_coverage.go#L69
File is not `gofumpt`-ed (gofumpt)
|
lint / Go:
pkg/flexfec/flexfec_encoder.go#L13
File is not `gofumpt`-ed (gofumpt)
|
lint / Go:
pkg/flexfec/flexfec_coverage.go#L95
unnecessary conversion (unconvert)
|
lint / Go:
pkg/flexfec/util/media_packet_iterator.go#L4
ST1000: at least one file in a package should have a package comment (stylecheck)
|
lint / Go:
pkg/flexfec/flexfec_encoder.go#L4
ST1000: at least one file in a package should have a package comment (stylecheck)
|
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/interceptor/interceptor. Supported file pattern: go.sum
|
lint / Go:
pkg/flexfec/util/media_packet_iterator.go#L8
exported: exported type MediaPacketIterator should have comment or be unexported (revive)
|
lint / Go:
pkg/flexfec/util/media_packet_iterator.go#L14
exported: exported function NewMediaPacketIterator should have comment or be unexported (revive)
|
lint / Go:
pkg/flexfec/util/media_packet_iterator.go#L22
exported: exported method MediaPacketIterator.Reset should have comment or be unexported (revive)
|
lint / Go:
pkg/flexfec/util/bitarray.go#L6
exported: exported type BitArray should have comment or be unexported (revive)
|
lint / Go:
pkg/flexfec/util/bitarray.go#L10
exported: comment on exported function NewBitArray should be of the form "NewBitArray ..." (revive)
|
lint / Go:
pkg/flexfec/util/media_packet_iterator.go#L27
exported: exported method MediaPacketIterator.HasNext should have comment or be unexported (revive)
|
lint / Go:
pkg/flexfec/util/media_packet_iterator.go#L31
exported: exported method MediaPacketIterator.Next should have comment or be unexported (revive)
|
lint / Go:
pkg/flexfec/util/bitarray.go#L25
exported: exported method BitArray.SetBit should have comment or be unexported (revive)
|
lint / Go:
pkg/flexfec/util/bitarray.go#L37
exported: exported method BitArray.GetBit should have comment or be unexported (revive)
|
lint / Go:
pkg/flexfec/util/media_packet_iterator.go#L40
exported: exported method MediaPacketIterator.First should have comment or be unexported (revive)
|