diff options
author | Valery Piashchynski <[email protected]> | 2020-11-18 12:56:53 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-18 12:56:53 +0300 |
commit | 4ccd58fc363264d24f642ab7e0ccfe6538a0b91c (patch) | |
tree | e71f2ab5173f81875533733cea4cb012a2ec6851 /pipe_factory.go | |
parent | 49a7c06b4ed3605130c3d09e73b28822aa205465 (diff) |
Replace factory struct with factory interface in pipe_factory
NewPipeFactory return value
Diffstat (limited to 'pipe_factory.go')
-rwxr-xr-x | pipe_factory.go | 2 |
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{} } |