Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddCommand ¶
NewAddCommand constructs the add command
func NewDefineCommand ¶
NewDefineCommand constructs the define command
func NewListCommand ¶
NewListCommand constructs the list command
func NewRemoveCommand ¶
NewRemoveCommand constructs the remove command
func NewRootCmd ¶
NewRootCmd creates and returns an instance of the root command
Types ¶
type Definer ¶
type Definer interface {
Define(word string) ([]dictionary.Definition, error)
}
Click to show internal directories.
Click to hide internal directories.