diff options
Diffstat (limited to 'output')
-rw-r--r-- | output/stdout.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/output/stdout.go b/output/stdout.go new file mode 100644 index 0000000..5cb753e --- /dev/null +++ b/output/stdout.go @@ -0,0 +1,14 @@ +package output + +import ( + "fmt" + + "github.com/Shugyousha/stasher/work" +) + +type StdoutOutput struct { +} + +func (o *StdoutOutput) Output(w *work.Work) { + fmt.Printf("%s\n", w.Data) +} |