Documentation ¶ Index ¶ Constants type Command func New() (Command, error) type Help func NewHelp() (*Help, error) func (cmd *Help) GetType() string func (cmd *Help) Print() type Spark func NewSpark() (*Spark, error) func (cmd *Spark) GetType() string func (cmd *Spark) Print() Constants ¶ View Source const ( KeySpark = "KEYSPARK" KeyHelp = "KEYHELP" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Command ¶ type Command interface { Print() GetType() string } func New ¶ func New() (Command, error) type Help ¶ type Help struct { Type string } func NewHelp ¶ func NewHelp() (*Help, error) func (*Help) GetType ¶ func (cmd *Help) GetType() string func (*Help) Print ¶ func (cmd *Help) Print() type Spark ¶ type Spark struct { Type string } func NewSpark ¶ func NewSpark() (*Spark, error) func (*Spark) GetType ¶ func (cmd *Spark) GetType() string func (*Spark) Print ¶ func (cmd *Spark) Print() Source Files ¶ View all Source files command.goconst.gohelp.gospark.go Click to show internal directories. Click to hide internal directories.