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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user