mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-19 16:46:55 +00:00
Other: add straightforward linters
This commit is contained in:
@ -22,7 +22,7 @@ import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// System labels
|
||||
// System labels.
|
||||
const (
|
||||
InboxLabel = "0"
|
||||
AllDraftsLabel = "1"
|
||||
@ -188,7 +188,7 @@ func (c *client) DeleteLabel(id string) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
// LeastUsedColor is intended to return color for creating a new inbox or label
|
||||
// LeastUsedColor is intended to return color for creating a new inbox or label.
|
||||
func LeastUsedColor(colors []string) (color string) {
|
||||
color = LabelColors[0]
|
||||
frequency := map[string]int{}
|
||||
|
||||
Reference in New Issue
Block a user