diff options
| author | Silvan Jegen <s.jegen@gmail.com> | 2017-01-18 18:22:16 +0100 | 
|---|---|---|
| committer | Silvan Jegen <s.jegen@gmail.com> | 2017-01-18 18:22:16 +0100 | 
| commit | 76e2175159ac2ff4b26d2606f4d8f1d7a896c5cc (patch) | |
| tree | 3864cce33beb8bd851374df2d735831c8cfe3a23 | |
| parent | c003fdf2182432a25892467bf1a456049f4b1c1d (diff) | |
Rename file
| -rw-r--r-- | manager.go (renamed from types.go) | 21 | 
1 files changed, 6 insertions, 15 deletions
| @@ -4,25 +4,16 @@ import (  	"fmt"  	"sync" +	"github.com/Shugyousha/stasher/filter" +	"github.com/Shugyousha/stasher/input" +	"github.com/Shugyousha/stasher/output"  	"github.com/Shugyousha/stasher/work"  ) -type Input interface { -	Start() chan *work.Work -} - -type Filter interface { -	Filter(*work.Work) *work.Work -} - -type Output interface { -	Output(*work.Work) -} -  type Manager struct { -	Input  Input -	Filter Filter -	Output Output +	Input  input.Input +	Filter filter.Filter +	Output output.Output  }  func (m *Manager) Run() { | 
