run go fmt
This commit is contained in:
parent
cc44027545
commit
8446d48664
5 changed files with 8 additions and 8 deletions
|
@ -2,8 +2,8 @@ package account
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"time"
|
|
||||||
"git.sr.ht/~sircmpwn/aerc/widgets"
|
"git.sr.ht/~sircmpwn/aerc/widgets"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Clear struct{}
|
type Clear struct{}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package msg
|
package msg
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"git.sr.ht/~sircmpwn/getopt"
|
"git.sr.ht/~sircmpwn/getopt"
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ func (FlagMsg) Execute(aerc *widgets.Aerc, args []string) error {
|
||||||
go func() {
|
go func() {
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
if success {
|
if success {
|
||||||
aerc.PushStatus(actionName + " flag '" + flagName + "' successful", 10*time.Second)
|
aerc.PushStatus(actionName+" flag '"+flagName+"' successful", 10*time.Second)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ type AccountConfig struct {
|
||||||
Source string
|
Source string
|
||||||
SourceCredCmd string
|
SourceCredCmd string
|
||||||
Folders []string
|
Folders []string
|
||||||
FoldersExclude []string
|
FoldersExclude []string
|
||||||
Params map[string]string
|
Params map[string]string
|
||||||
Outgoing string
|
Outgoing string
|
||||||
OutgoingCredCmd string
|
OutgoingCredCmd string
|
||||||
|
|
|
@ -347,8 +347,8 @@ func (store *MessageStore) Flag(uids []uint32, flag models.Flag,
|
||||||
|
|
||||||
store.worker.PostAction(&types.FlagMessages{
|
store.worker.PostAction(&types.FlagMessages{
|
||||||
Enable: enable,
|
Enable: enable,
|
||||||
Flag: flag,
|
Flag: flag,
|
||||||
Uids: uids,
|
Uids: uids,
|
||||||
}, cb)
|
}, cb)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -117,8 +117,8 @@ type DeleteMessages struct {
|
||||||
type FlagMessages struct {
|
type FlagMessages struct {
|
||||||
Message
|
Message
|
||||||
Enable bool
|
Enable bool
|
||||||
Flag models.Flag
|
Flag models.Flag
|
||||||
Uids []uint32
|
Uids []uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
type AnsweredMessages struct {
|
type AnsweredMessages struct {
|
||||||
|
|
Loading…
Reference in a new issue