shapes

package
v0.0.0-...-6b0544b Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 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