1
0
mirror of https://github.com/beego/bee.git synced 2025-07-05 18:20:18 +00:00

1. remove unused typeMappingMysqlOfRpc type.

2. update README.md
This commit is contained in:
Liujian
2014-10-23 13:09:22 +08:00
parent 7dfe63055e
commit 2e7cd9b414
4 changed files with 31 additions and 99 deletions

View File

@ -500,11 +500,7 @@ func (mysqlDB *MysqlDB) GetColumns(db *sql.DB, table *Table, blackList map[strin
// getGoDataType maps an SQL data type to Golang data type
func (*MysqlDB) GetGoDataType(sqlType string) (goType string) {
var typeMapping = map[string]string{}
if isCreateHproseApp {
typeMapping = typeMappingMysqlOfRpc
} else {
typeMapping = typeMappingMysql
}
typeMapping = typeMappingMysql
if v, ok := typeMapping[sqlType]; ok {
return v
} else {