aboutsummaryrefslogtreecommitdiffstats
path: root/utils/ioutil/pipe.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ioutil/pipe.go')
-rw-r--r--utils/ioutil/pipe.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/ioutil/pipe.go b/utils/ioutil/pipe.go
new file mode 100644
index 0000000..f30c452
--- /dev/null
+++ b/utils/ioutil/pipe.go
@@ -0,0 +1,9 @@
+// +build !js
+
+package ioutil
+
+import "io"
+
+func Pipe() (PipeReader, PipeWriter) {
+ return io.Pipe()
+}