From 67af9d7223b0cc643025d958c592291f7475ac75 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Sun, 2 May 2021 23:36:12 +0200 Subject: utils: ioutil, Pipe implementatio --- utils/ioutil/pipe_js.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 utils/ioutil/pipe_js.go (limited to 'utils/ioutil/pipe_js.go') 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) +} -- cgit