diff options
| author | Silvan Jegen <s.jegen@gmail.com> | 2017-01-22 16:17:34 +0100 |
|---|---|---|
| committer | Silvan Jegen <s.jegen@gmail.com> | 2017-01-22 16:17:34 +0100 |
| commit | 51bd6e455dea5c22f8a5c4d1579c472c4937e8d6 (patch) | |
| tree | a01a17e1b88f7047e45dbbad6dd13275f3a97e34 /main.go | |
| parent | 17a03b66a4a389a13e2187840bb1c1da9041f55b (diff) | |
Use registry for output modules
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ import ( "github.com/Shugyousha/stasher/conf" "github.com/Shugyousha/stasher/filter/str" "github.com/Shugyousha/stasher/input/stdin" - "github.com/Shugyousha/stasher/output" + "github.com/Shugyousha/stasher/output/stdout" ) func main() { @@ -28,7 +28,7 @@ func main() { m := Manager{ Input: stdin.New(nil), Filter: str.New(ffmap), - Output: &output.StdoutOutput{}, + Output: stdout.New(nil), } m.Run() |
