Merge branch 'master' of github.com:go-xorm/xorm

This commit is contained in:
Lunny Xiao 2015-06-26 21:21:28 +08:00
commit 76eef59c8f
1 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,12 @@ func isZero(k interface{}) bool {
return k.(uint32) == 0
case uint64:
return k.(uint64) == 0
case float32:
return k.(float32) == 0
case float64:
return k.(float64) == 0
case bool:
return k.(bool) == false
case string:
return k.(string) == ""
case time.Time: