diff options
Diffstat (limited to 'utils/ioutil/pipe_js.go')
-rw-r--r-- | utils/ioutil/pipe_js.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/ioutil/pipe_js.go b/utils/ioutil/pipe_js.go new file mode 100644 index 0000000..cf102e6 --- /dev/null +++ b/utils/ioutil/pipe_js.go @@ -0,0 +1,9 @@ +// +build js + +package ioutil + +import "github.com/acomagu/bufpipe" + +func Pipe() (PipeReader, PipeWriter) { + return bufpipe.New(nil) +} |