golib/gcache/cache.go

17 lines
238 B
Go
Raw Normal View History

2023-06-15 21:22:51 +08:00
//
// cache.go
// Copyright (C) 2022 tiglog <me@tiglog.com>
//
// Distributed under terms of the MIT license.
//
package gcache
type Engine struct {
ICacheAdapter
}
func New(adapter ICacheAdapter) *Engine {
return &Engine{adapter}
}