package commands import ( "fmt" ) type AddAlias struct { Match string Alias string } func (c AddAlias) CommandDescription() string { return fmt.Sprintf("AddAlias(%v, %v)", c.Match, c.Alias) } type RemoveAlias struct { Match string Alias string } func (c RemoveAlias) CommandDescription() string { return fmt.Sprintf("RemoveAlias(%v, %v)", c.Match, c.Alias) }