More linting fixes

This commit is contained in:
AlexSSD7 2023-09-02 12:09:26 +01:00
commit 52cd7e21cb
3 changed files with 4 additions and 4 deletions

View file

@ -14,9 +14,9 @@ import (
"github.com/AlexSSD7/linsk/vm"
)
type RunVMFunc func(context.Context, *vm.VM, *vm.FileManager, *share.NetTapRuntimeContext) int
type Func func(context.Context, *vm.VM, *vm.FileManager, *share.NetTapRuntimeContext) int
func RunVM(vi *vm.VM, initFileManager bool, tapRuntimeCtx *share.NetTapRuntimeContext, fn RunVMFunc) int {
func RunVM(vi *vm.VM, initFileManager bool, tapRuntimeCtx *share.NetTapRuntimeContext, fn Func) int {
runErrCh := make(chan error, 1)
var wg sync.WaitGroup