aboutsummaryrefslogtreecommitdiff
path: root/commands/compose/attach.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/compose/attach.go
parentc6b776adbfb11ba34756a1d4f770b15c2fb3cb46 (diff)
all: purge redundant underscores
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
Diffstat (limited to 'commands/compose/attach.go')
-rw-r--r--commands/compose/attach.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/compose/attach.go b/commands/compose/attach.go
index 7501a33..969d12e 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 <path>")
}