diff options
author | Silvan Jegen <s.jegen@gmail.com> | 2016-12-09 21:12:18 +0100 |
---|---|---|
committer | Silvan Jegen <s.jegen@gmail.com> | 2016-12-09 21:12:18 +0100 |
commit | 26412f3077698dabcdbdf6a6e40276c56a6f74b5 (patch) | |
tree | c10ed9b5dbe3612da22247ec6c5afcd1879495eb /output | |
parent | 70299d51aeb8dc53a15eb06d46d4d2419619fd47 (diff) |
Reorganize files
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) +} |