summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-18 12:56:53 +0300
committerValery Piashchynski <[email protected]>2020-11-18 12:56:53 +0300
commit4ccd58fc363264d24f642ab7e0ccfe6538a0b91c (patch)
treee71f2ab5173f81875533733cea4cb012a2ec6851
parent49a7c06b4ed3605130c3d09e73b28822aa205465 (diff)
Replace factory struct with factory interface in pipe_factory
NewPipeFactory return value
-rwxr-xr-xpipe_factory.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pipe_factory.go b/pipe_factory.go
index e59055b4..a85606d2 100755
--- a/pipe_factory.go
+++ b/pipe_factory.go
@@ -17,7 +17,7 @@ type PipeFactory struct{}
// listening
// todo: review tests
-func NewPipeFactory() *PipeFactory {
+func NewPipeFactory() Factory {
return &PipeFactory{}
}