From 6838c23478944a9b45df1fa9a0f432ec77423987 Mon Sep 17 00:00:00 2001 From: Wagner Riffel Date: Tue, 3 Sep 2019 16:34:03 -0300 Subject: all: purge redundant underscores Signed-off-by: Wagner Riffel --- commands/compose/attach.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/compose/attach.go') diff --git a/commands/compose/attach.go b/commands/compose/attach.go index 7501a338..969d12ed 100644 --- a/commands/compose/attach.go +++ b/commands/compose/attach.go @@ -17,11 +17,11 @@ func init() { register(Attach{}) } -func (_ Attach) Aliases() []string { +func (Attach) Aliases() []string { return []string{"attach"} } -func (_ Attach) Complete(aerc *widgets.Aerc, args []string) []string { +func (Attach) Complete(aerc *widgets.Aerc, args []string) []string { path := "" if len(args) >= 1 { path = args[0] @@ -30,7 +30,7 @@ func (_ Attach) Complete(aerc *widgets.Aerc, args []string) []string { return commands.CompletePath(path) } -func (_ Attach) Execute(aerc *widgets.Aerc, args []string) error { +func (Attach) Execute(aerc *widgets.Aerc, args []string) error { if len(args) != 2 { return fmt.Errorf("Usage: :attach ") } -- cgit