Chore: Fix up various linting issues

In prep to add golangci-lint, fix various linting issues.
* Make the `kvm` package a fully-qualified public package.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ
2024-12-31 15:23:33 +01:00
parent 4884240f5f
commit d3641bb4b9
9 changed files with 17 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ func (w *WebRTCDiskReader) Read(ctx context.Context, offset int64, size int64) (
if err != nil {
return nil, err
}
buf := make([]byte, 0)
var buf []byte
for {
select {
case data := <-diskReadChan: