1 Star 1 Fork 2

kristas / booting-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
def.go 443 Bytes
一键复制 编辑 原始数据 按行查看 历史
kristas 提交于 2021-10-22 22:58 . feat: add annotation
package cache
import (
"gitee.com/kristas/booting-go/framework/core/bean"
"gitee.com/kristas/booting-go/framework/core/statement/types"
)
type ICache interface {
bean.Bean
Conn() (ICache, error)
Set(key string, value interface{}) (string, error)
Del(key string) (int64, error)
Get(key string) (string, error)
}
type Configure struct {
types.AutoConfigure `prefix:"application.cache"`
Instance string `yaml:"instance"`
}
Go
1
https://gitee.com/kristas/booting-go.git
git@gitee.com:kristas/booting-go.git
kristas
booting-go
booting-go
v1.4.4

搜索帮助

53164aa7 5694891 3bd8fe86 5694891