diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2021-05-02 23:36:12 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2021-05-02 23:36:12 +0200 |
commit | 67af9d7223b0cc643025d958c592291f7475ac75 (patch) | |
tree | a8d14d0e88fd57ae84c2614d7c2fb9c6527438a5 /utils/ioutil/pipe_js.go | |
parent | c69d5331743e49d3672897cf1c552e5e123d4509 (diff) | |
download | go-git-67af9d7223b0cc643025d958c592291f7475ac75.tar.gz |
utils: ioutil, Pipe implementatio
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) +} |