未验证 提交 2a930250 编写于 作者: 梦境迷离's avatar 梦境迷离 提交者: GitHub

Update README_CN.md

上级 1e2f397a
......@@ -27,21 +27,19 @@
## cache
- 内存缓存
- 一个统一的缓存适配器
- 零依赖,类型安全。
- API与实现完全独立。
```scala
"org.bitlap" %% "smt-cache" % "<VERSION>" // 从0.6.0开始
```
## common
- 一些很通用的工具类。
- `Transformer` 将样例类`From`的对象转变为样例类`To`的对象。
- `Transformable` 自动生成`Transformer`的实例。
- 有两种方式可以映射字段:
- 1.使用`Transformer`,并在样例类的伴生对象中定义`Transformer`隐式值。
- 2.直接使用`Transformable``mapField`方法。
- 存放一些很通用的工具类。
- 对象转换器Transformer
- 零依赖,类型安全。
- `Transformer` 将样例类`From`的对象转变为样例类`To`的对象。
- `Transformable` 自动生成`Transformer`的实例。
```scala
"org.bitlap" %% "smt-common" % "<VERSION>" // 从0.6.0开始
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册