![]() |
6 years ago | |
---|---|---|
.. | ||
common | 6 years ago | |
memcached | 6 years ago | |
testdata | 6 years ago | |
BUILD | 6 years ago | |
CHANGELOG.md | 6 years ago | |
CONTRIBUTORS.md | 6 years ago | |
OWNERS | 6 years ago | |
README.md | 6 years ago | |
gen | 6 years ago | |
header_template.go | 6 years ago | |
main.go | 6 years ago | |
mc | 6 years ago | |
multi_template.go | 6 years ago | |
none_template.go | 6 years ago | |
single_template.go | 6 years ago |
缓存代码生成
从缓存中获取数据 如果miss则调用回源函数从数据源获取 然后塞入缓存
支持以下功能:
代码生成: 使用go generate方式生成 具体参数见文档