summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2017-01-21 12:39:14 +0100
committerSilvan Jegen <s.jegen@gmail.com>2017-01-21 12:39:14 +0100
commit17a03b66a4a389a13e2187840bb1c1da9041f55b (patch)
treea37f180c3518b1f8a8caf9546bb8ca7cd9d29ac4 /registry
parentd82c5eedbc437c8cf51116d619e7c59314c2315d (diff)
Initialize registry maps
Diffstat (limited to 'registry')
-rw-r--r--registry/registry.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/registry/registry.go b/registry/registry.go
index bdf841d..7f0149f 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -1,15 +1,15 @@
package registry
import (
- "github.com/Shugyousha/stasher/input"
"github.com/Shugyousha/stasher/filter"
+ "github.com/Shugyousha/stasher/input"
"github.com/Shugyousha/stasher/work"
)
var (
- Inputregistry map[string]func(map[string]string) input.Input
- Filterregistry map[string]func(map[string]string) filter.Filter
- Outputregistry map[string]func(map[string]string) Output
+ 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)
)
type Output interface {