summaryrefslogtreecommitdiff
path: root/output/stdout.go
blob: 5cb753ee0e048c673618cb16388ef47451dbe1a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
}