Skip to content

Commit

Permalink
internal/wasmtools/types: rename Executor to Runner
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaxiao Zhou <[email protected]>
  • Loading branch information
Mossaka committed Dec 12, 2024
1 parent c41c661 commit dc61352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/wasmtools/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io/fs"
)

// Executor is an interface for running Wasm modules.
type Executor interface {
// Runner is an interface for running Wasm modules.
type Runner interface {
Run(ctx context.Context, args []string, stdin io.Reader, fsMap map[fs.FS]string, name *string) (stdout io.Reader, stderr io.Reader, err error)
}

0 comments on commit dc61352

Please sign in to comment.