simplefactory

package
v0.0.0-...-7dcde51 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Button

type Button interface {
	Press() string
}

type ButtonFactory

type ButtonFactory struct{}

func (ButtonFactory) New

func (f ButtonFactory) New(buttonType string) Button

type CircularButton

type CircularButton struct{}

func (CircularButton) Press

func (b CircularButton) Press() string

type SquareButton

type SquareButton struct{}

func (SquareButton) Press

func (b SquareButton) Press() string

Jump to

Keyboard shortcuts

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