Cleanup
This commit is contained in:
parent
7939f4262e
commit
20761a82eb
|
@ -30,17 +30,6 @@ import (
|
|||
"strconv"
|
||||
)
|
||||
|
||||
var (
|
||||
// This is a map with a map so we're able to clear all cached avatar (in all sizes) for one user at once
|
||||
// The first map has as key the user id, the second one has the size as key
|
||||
//resizedCache = map[int64]map[int64][]byte{}
|
||||
//resizedCacheLock = sync.Mutex{}
|
||||
)
|
||||
|
||||
//func init() {
|
||||
// resizedCache = make(map[int64]map[int64][]byte)
|
||||
//}
|
||||
|
||||
// Provider represents the upload avatar provider
|
||||
type Provider struct {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue