build: fix linting issues reported by running golangci-lint with different GOOS

This commit is contained in:
albertony committed 2024-04-22 19:29:12 +02:00
1 parent 159e274921
commit 7ee22fcdf9
23 files changed
+124 -46

No files matched your search

+1
View File
@@ -3,4 +3,5 @@
//go:build plan9 || js
// Package cachestats provides the cachestats command.
package cachestats
+1
View File
@@ -3,4 +3,5 @@
//go:build plan9 || js
// Package ncdu implements a text based user interface for exploring a remote
package ncdu
+2 -1
View File
@@ -3,9 +3,10 @@
//go:build plan9
// Package ftp implements an FTP server for rclone
package ftp
import "github.com/spf13/cobra"
// Command definition is nil to show not implemented
var Command *cobra.Command = nil
var Command *cobra.Command
+2 -1
View File
@@ -3,9 +3,10 @@
//go:build plan9
// Package sftp implements an SFTP server to serve an rclone VFS
package sftp
import "github.com/spf13/cobra"
// Command definition is nil to show not implemented
var Command *cobra.Command = nil
var Command *cobra.Command