diff --git a/doc.go b/doc.go index a0550ce0..3b0b4049 100644 --- a/doc.go +++ b/doc.go @@ -5,6 +5,7 @@ /* Package xorm is a simple and powerful ORM for Go. + Installation go get github.com/lunny/xorm diff --git a/docs/QuickStart.md b/docs/QuickStart.md index 53f564e1..c2b43d7a 100644 --- a/docs/QuickStart.md +++ b/docs/QuickStart.md @@ -26,10 +26,12 @@ xorm 快速入门 * [10.执行SQL命令](#100) * [11.事务处理](#110) * [12.缓存](#120) -* [13.Examples](#130) -* [14.案例](#140) -* [15.那些年我们踩过的坑](#150) -* [16.讨论](#160) +* [13.xorm工具](#130) + * [13.1.反转命令](#131) +* [14.Examples](#140) +* [15.案例](#150) +* [16.那些年我们踩过的坑](#160) +* [17.讨论](#170) ## 1.创建Orm引擎 @@ -611,12 +613,19 @@ ClearCacheBean ![cache design](https://raw.github.com/lunny/xorm/master/docs/cache_design.png) -## 13.Examples +## 13.xorm工具 +xorm工具提供了xorm命令,能够帮助做很多事情。 + +### 13.1.反转命令 +参见 [xorm工具](https://github.com/lunny/xorm/tree/master/xorm) + + +## 14.Examples 请访问[https://github.com/lunny/xorm/tree/master/examples](https://github.com/lunny/xorm/tree/master/examples) - -## 14.案例 + +## 15.案例 * [Gowalker](http://gowalker.org),源代码 [github.com/Unknwon/gowalker](http://github.com/Unknwon/gowalker) @@ -626,8 +635,8 @@ ClearCacheBean * [VeryHour](http://veryhour.com) - -## 15.那些年我们踩过的坑 + +## 16.那些年我们踩过的坑 1. 怎么同时使用xorm的tag和json的tag? 答:使用空格 @@ -655,6 +664,6 @@ money float64 `xorm:"Numeric"` } ``` - -## 16.FAQ + +## 17.FAQ 请加入QQ群:280360085 进行讨论。