shape

package
v0.0.0-...-54e4ceb Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Circle

type Circle struct {
}

func (*Circle) Draw

func (c *Circle) Draw()

type Rec

type Rec struct {
}

func (*Rec) Draw

func (r *Rec) Draw()

type Shape

type Shape interface {
	Draw()
}

func GetShape

func GetShape(shape string) (Shape, error)

type Square

type Square struct {
}

func (*Square) Draw

func (s *Square) Draw()

Jump to

Keyboard shortcuts

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