aboutsummaryrefslogtreecommitdiff
path: root/commands/prompt.go
diff options
context:
space:
mode:
authorWagner Riffel <wgrriffel@gmail.com>2019-09-03 16:34:03 -0300
committerDrew DeVault <sir@cmpwn.com>2019-09-04 16:30:57 -1000
commit6838c23478944a9b45df1fa9a0f432ec77423987 (patch)
treedf6c5eb1c3bb4af779f98dd5ec9fa2d5b7658b4f /commands/prompt.go
parentc6b776adbfb11ba34756a1d4f770b15c2fb3cb46 (diff)
all: purge redundant underscores
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
Diffstat (limited to 'commands/prompt.go')
-rw-r--r--commands/prompt.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/prompt.go b/commands/prompt.go
index 3734881..fe152c8 100644
--- a/commands/prompt.go
+++ b/commands/prompt.go
@@ -13,15 +13,15 @@ func init() {
register(Prompt{})
}
-func (_ Prompt) Aliases() []string {
+func (Prompt) Aliases() []string {
return []string{"prompt"}
}
-func (_ Prompt) Complete(aerc *widgets.Aerc, args []string) []string {
+func (Prompt) Complete(aerc *widgets.Aerc, args []string) []string {
return nil // TODO: add completions
}
-func (_ Prompt) Execute(aerc *widgets.Aerc, args []string) error {
+func (Prompt) Execute(aerc *widgets.Aerc, args []string) error {
if len(args) < 3 {
return errors.New(fmt.Sprintf("Usage: %s <prompt> <cmd>", args[0]))
}