Documentation
¶
Overview ¶
Package printer has the abstraction logic to print Graph. It's an interface that could have different implementations, one for each type of different Printer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TypeStrings ¶
func TypeStrings() []string
TypeStrings returns a slice of all String values of the enum
Types ¶
type Options ¶ added in v0.2.0
type Options struct { // ShowIcons toggles display of the // icons on the end Graph ShowIcons bool }
Options is the possible options that the Printer can have
type Type ¶
type Type int
Type defines the type of the Printer iota
func TypeString ¶
TypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.