all: purge redundant underscores

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
This commit is contained in:
Wagner Riffel 2019-09-03 16:34:03 -03:00 committed by Drew DeVault
parent c6b776adbf
commit 6838c23478
45 changed files with 132 additions and 132 deletions
commands/compose

View file

@ -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>")
}