Fix linter warnings

This commit is contained in:
AlexSSD7 2023-10-13 09:07:37 +02:00
commit d33eaf5ac8
8 changed files with 14 additions and 19 deletions

View file

@ -16,12 +16,10 @@
package share
import "context"
type NewBackendFunc func(uc *UserConfiguration) (Backend, *VMShareOptions, error)
type Backend interface {
Apply(ctx context.Context, sharePWD string, vc *VMShareContext) (string, error)
Apply(sharePWD string, vc *VMShareContext) (string, error)
}
var backends = map[string]NewBackendFunc{