Files
tweetdistributor/output/stdout.go
2025-03-20 14:48:08 +09:00

22 lines
255 B
Go

package output
import (
"fmt"
)
type stdoutput struct {
}
func StdOutput() *stdoutput {
return &stdoutput{}
}
func (so *stdoutput) Write(str string) error {
fmt.Println(str)
return nil
}
func (so *stdoutput) GetName() string {
return "stdout"
}