Create av1_sample_buffer_support.go #413
Annotations
9 errors and 10 warnings
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
codecs/av1/obu/leb128.go#L72
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support.go#L28
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support.go#L36
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L51
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L67
unnecessary leading newline (whitespace)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L91
unnecessary leading newline (whitespace)
|
golangci-lint
issues found
|
golangci-lint:
codecs/av1/obu/leb128.go#L71
exported: exported function SizeLeb128 should have comment or be unexported (revive)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L73
var-declaration: should drop = 0 from declaration of var seqNo; it is the zero value (revive)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L74
var-declaration: should drop = 0 from declaration of var timestamp; it is the zero value (revive)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L134
var-declaration: should drop = 0 from declaration of var seqNo; it is the zero value (revive)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support_test.go#L135
var-declaration: should drop = 0 from declaration of var timestamp; it is the zero value (revive)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support.go#L8
exported: exported type AV1PacketSampleBufferSupport should have comment or be unexported (revive)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support.go#L13
exported: exported method AV1PacketSampleBufferSupport.IsPartitionTail should have comment or be unexported (revive)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support.go#L27
exported: exported method AV1PacketSampleBufferSupport.Unmarshal should have comment or be unexported (revive)
|
golangci-lint:
codecs/av1/frame/av1_sample_buffer_support.go#L47
var-declaration: should drop = 0 from declaration of var payloadSize; it is the zero value (revive)
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/rtp/rtp. Supported file pattern: go.sum
|
Loading