Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NormalPrinter ¶
type NormalPrinter struct { Msg string Printer PrinterAPI }
func (*NormalPrinter) Print ¶
func (c *NormalPrinter) Print() error
type PacktPrinter ¶
type PacktPrinter struct { Msg string Printer PrinterAPI }
func (*PacktPrinter) Print ¶
func (c *PacktPrinter) Print() error
type PrinterAPI ¶
type PrinterAPI1 ¶
type PrinterAPI1 struct{}
func (*PrinterAPI1) PrintMessage ¶
func (d *PrinterAPI1) PrintMessage(msg string) error
type PrinterAPI2 ¶
func (*PrinterAPI2) PrintMessage ¶
func (d *PrinterAPI2) PrintMessage(msg string) error
type PrinterAbstraction ¶
type PrinterAbstraction interface {
Print() error
}
Click to show internal directories.
Click to hide internal directories.