Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildUnknownCmdMsg ¶
BuildUnknownCmdMsg gives a message for unknown command
Types ¶
type Executable ¶
type Executable interface { Run(user *slack.User) string // contains filtered or unexported methods }
Executable interface will give command abstraction Run for command execution buildCommand for validation and instantiation isValid to get command validation.
func GetCommand ¶
func GetCommand(text string) Executable
GetCommand this is the main function to return the command by given string
Click to show internal directories.
Click to hide internal directories.