tidy up comments

This commit is contained in:
Nash Tsai 2013-12-18 15:24:00 +08:00
parent 99c7031b50
commit a6eb640d81
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,7 @@
package xorm
import (
"bytes"
"fmt"
"reflect"
//"strconv"
@ -9,7 +10,7 @@ import (
"time"
)
// !nashtsai! treat following var as interal const values
// !nashtsai! treat following var as interal const values, these are used for reflect.TypeOf comparision
var (
c_EMPTY_STRING = ""
c_BOOL_DEFAULT = false
@ -707,7 +708,6 @@ func (s *Statement) genDropSQL() string {
return sql
}
// !nashtsai! REVIEW, Statement is a huge struct why is this method not passing *Statement?
func (statement *Statement) genGetSql(bean interface{}) (string, []interface{}) {
table := statement.Engine.autoMap(bean)
statement.RefTable = table