diff --git a/README.md b/README.md index 5f92360a..a37913c9 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ Xorm is a simple and powerful ORM for Go. [![Build Status](https://drone.io/github.com/go-xorm/tests/status.png)](https://drone.io/github.com/go-xorm/tests/latest) [![Go Walker](http://gowalker.org/api/v1/badge)](http://gowalker.org/github.com/go-xorm/xorm) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/lunny/xorm/trend.png)](https://bitdeli.com/free "Bitdeli Badge") +# Notice + +The last master version has non-compitable update. You should use `engine.ShowSQL()` and `engine.Logger().SetLevel()` to instead `engine.ShowSQL = `, `engine.ShowInfo = ` and etc. + # Features * Struct <-> Table Mapping Support diff --git a/README_CN.md b/README_CN.md index 4fbb0639..fb2da570 100644 --- a/README_CN.md +++ b/README_CN.md @@ -8,6 +8,10 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作 [![Build Status](https://drone.io/github.com/go-xorm/tests/status.png)](https://drone.io/github.com/go-xorm/tests/latest) [![Go Walker](http://gowalker.org/api/v1/badge)](http://gowalker.org/github.com/go-xorm/xorm) +# 注意 + +最新的版本有不兼容的更新,您必须使用 `engine.ShowSQL()` 和 `engine.Logger().SetLevel()` 来替代 `engine.ShowSQL = `, `engine.ShowInfo = ` 等等。 + ## 特性 * 支持Struct和数据库表之间的灵活映射,并支持自动同步