1
1
mirror of https://github.com/go-gitea/gitea synced 2024-09-13 07:16:05 +00:00
gitea/vendor/github.com/smartystreets/goconvey/convey/reporting/console.go
2016-11-04 08:43:11 +01:00

17 lines
210 B
Go

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)
}