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/detach.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/compose/detach.go') diff --git a/commands/compose/detach.go b/commands/compose/detach.go index e700ab6..dc70ff9 100644 --- a/commands/compose/detach.go +++ b/commands/compose/detach.go @@ -14,17 +14,17 @@ func init() { register(Detach{}) } -func (_ Detach) Aliases() []string { +func (Detach) Aliases() []string { return []string{"detach"} } -func (_ Detach) Complete(aerc *widgets.Aerc, args []string) []string { +func (Detach) Complete(aerc *widgets.Aerc, args []string) []string { composer, _ := aerc.SelectedTab().(*widgets.Composer) return composer.GetAttachments() } -func (_ Detach) Execute(aerc *widgets.Aerc, args []string) error { +func (Detach) Execute(aerc *widgets.Aerc, args []string) error { var path string composer, _ := aerc.SelectedTab().(*widgets.Composer) -- cgit v1.2.3