コード例 #1
0
ファイル: cache_test.go プロジェクト: catgatp/gol
func init() {
	cache1 = cacheUint.New(true, 20*time.Second, nil)
}
コード例 #2
0
ファイル: main.go プロジェクト: catgatp/gol
func init() {
	_cache = cacheUint.New(true, 10*time.Minute, nil)
	go_cache = gocache.New(5*time.Minute, 10*time.Minute)
}