summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2017-01-22 16:17:34 +0100
committerSilvan Jegen <s.jegen@gmail.com>2017-01-22 16:17:34 +0100
commit51bd6e455dea5c22f8a5c4d1579c472c4937e8d6 (patch)
treea01a17e1b88f7047e45dbbad6dd13275f3a97e34 /registry
parent17a03b66a4a389a13e2187840bb1c1da9041f55b (diff)
Use registry for output modules
Diffstat (limited to 'registry')
-rw-r--r--registry/registry.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/registry/registry.go b/registry/registry.go
index 7f0149f..6bb99f0 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -3,15 +3,11 @@ package registry
import (
"github.com/Shugyousha/stasher/filter"
"github.com/Shugyousha/stasher/input"
- "github.com/Shugyousha/stasher/work"
+ "github.com/Shugyousha/stasher/output"
)
var (
Inputregistry map[string]func(map[string]string) input.Input = make(map[string]func(map[string]string) input.Input)
Filterregistry map[string]func(map[string]string) filter.Filter = make(map[string]func(map[string]string) filter.Filter)
- Outputregistry map[string]func(map[string]string) Output = make(map[string]func(map[string]string) Output)
+ Outputregistry map[string]func(map[string]string) output.Output = make(map[string]func(map[string]string) output.Output)
)
-
-type Output interface {
- Output(*work.Work)
-}