From 51bd6e455dea5c22f8a5c4d1579c472c4937e8d6 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Sun, 22 Jan 2017 16:17:34 +0100 Subject: Use registry for output modules --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 5b0e329..69677d5 100644 --- a/main.go +++ b/main.go @@ -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() -- cgit v1.2.1-18-gbd029