Other: Update golangci-lint to v1.50.0

This commit is contained in:
Leander Beernaert
2022-10-17 11:02:56 +02:00
parent e0603f741f
commit 9d800324af
70 changed files with 247 additions and 277 deletions

View File

@ -31,15 +31,16 @@ const (
// addToCache adds item to existing item list.
// Starting from following structure:
// {
// "username": {"label": "item1;item2"}
// }
//
// {
// "username": {"label": "item1;item2"}
// }
//
// After calling addToCache("username", "label", "newItem") we get:
// {
// "username": {"label": "item1;item2;newItem"}
// }
//
// {
// "username": {"label": "item1;item2;newItem"}
// }
func (ib *imapBackend) addToCache(userID, label, toAdd string) {
list := ib.getCacheList(userID, label)