Update comments for Godoc
This commit is contained in:
parent
cfa703618b
commit
75c0f09b23
@ -35,7 +35,7 @@ func (c *CommandManager) AddCommand(command *Command) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// RemovesCommand removes the command named from the Commands array
|
// RemoveCommand removes the command named from the Commands array
|
||||||
func (c *CommandManager) RemoveCommand(name string) error {
|
func (c *CommandManager) RemoveCommand(name string) error {
|
||||||
deleted := false
|
deleted := false
|
||||||
if _, ok := c.Commands[name]; ok {
|
if _, ok := c.Commands[name]; ok {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user