Documentation ¶
Index ¶
- type Printer
- type SimplePrinter
- func (p SimplePrinter) Print(a ...interface{}) (n int, err error)
- func (p SimplePrinter) Printf(format string, a ...interface{}) (n int, err error)
- func (p SimplePrinter) Println(a ...interface{}) (n int, err error)
- func (p *SimplePrinter) SetOutput(w io.Writer)
- func (p SimplePrinter) Write(buf []byte) (n int, err error)
- type WritePrinter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimplePrinter ¶
type SimplePrinter struct { WritePrinter // contains filtered or unexported fields }
func NewSimplePrinter ¶
func NewSimplePrinter(w io.Writer) *SimplePrinter
func (SimplePrinter) Print ¶
func (p SimplePrinter) Print(a ...interface{}) (n int, err error)
func (SimplePrinter) Printf ¶
func (p SimplePrinter) Printf(format string, a ...interface{}) (n int, err error)
func (SimplePrinter) Println ¶
func (p SimplePrinter) Println(a ...interface{}) (n int, err error)
func (*SimplePrinter) SetOutput ¶
func (p *SimplePrinter) SetOutput(w io.Writer)
type WritePrinter ¶
Click to show internal directories.
Click to hide internal directories.