bee/vendor/github.com/smartystreets/goconvey/convey/reporting/console.go

17 lines
210 B
Go
Raw Normal View History

2016-12-05 15:07:45 +00:00
package reporting
import (
"fmt"
"io"
)
type console struct{}
func (self *console) Write(p []byte) (n int, err error) {
return fmt.Print(string(p))
}
func NewConsole() io.Writer {
return new(console)
}