chore(go): run betteralign and gofumpt on codebase

This commit is contained in:
Gabe Kangas
2023-10-08 14:22:28 -07:00
parent a31179b604
commit 8e79e2acfa
18 changed files with 73 additions and 61 deletions

View File

@@ -17,9 +17,11 @@ import (
log "github.com/sirupsen/logrus"
)
var emojiCacheMu sync.Mutex
var emojiCacheData = make([]models.CustomEmoji, 0)
var emojiCacheModTime time.Time
var (
emojiCacheMu sync.Mutex
emojiCacheData = make([]models.CustomEmoji, 0)
emojiCacheModTime time.Time
)
// UpdateEmojiList will update the cache (if required) and
// return the modifiation time.