13 lines
169 B
Go
13 lines
169 B
Go
package entity
|
|
|
|
import (
|
|
"time"
|
|
|
|
gc "github.com/patrickmn/go-cache"
|
|
)
|
|
|
|
var lensCache = gc.New(time.Hour, 15*time.Minute)
|
|
|
|
func FlushLensCache() {
|
|
lensCache.Flush()
|
|
}
|