This commit is contained in:
2026-01-28 21:55:20 -05:00
parent 513674b0c8
commit dcd516d970
10 changed files with 90 additions and 179 deletions

View File

@@ -6,12 +6,12 @@ type RuntimeOption func(*Runtime)
func WithStdout(stdout io.Writer) RuntimeOption {
return func(r *Runtime) {
r.stdout = stdout
r.opts.Stdout = stdout
}
}
func WithStderr(stderr io.Writer) RuntimeOption {
return func(r *Runtime) {
r.stderr = stderr
r.opts.Stderr = stderr
}
}