1 Star 0 Fork 0

Jason/cache2go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
errors.go 576 Bytes
一键复制 编辑 原始数据 按行查看 历史
Christian Muehlhaeuser 提交于 2017-01-05 21:27 . Updated copyright headers
/*
* Simple caching library with expiration capabilities
* Copyright (c) 2013-2017, Christian Muehlhaeuser <muesli@gmail.com>
*
* For license see LICENSE.txt
*/
package cache2go
import (
"errors"
)
var (
// ErrKeyNotFound gets returned when a specific key couldn't be found
ErrKeyNotFound = errors.New("Key not found in cache")
// ErrKeyNotFoundOrLoadable gets returned when a specific key couldn't be
// found and loading via the data-loader callback also failed
ErrKeyNotFoundOrLoadable = errors.New("Key not found and could not be loaded into cache")
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/miantiaox/cache2go.git
git@gitee.com:miantiaox/cache2go.git
miantiaox
cache2go
cache2go
master

搜索帮助