shapes

package
v0.0.0-...-0a60d77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TextStrategy  = "text"
	ImageStrategy = "image"
)

Variables

This section is empty.

Functions

func NewPrinter

func NewPrinter(s string) (strategy.Output, error)

Types

type ImageSquare

type ImageSquare struct {
	strategy.PrintOutput
}

func (*ImageSquare) Print

func (i *ImageSquare) Print() error

type TextSquare

type TextSquare struct {
	strategy.PrintOutput
}

func (*TextSquare) Print

func (t *TextSquare) Print() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL