Describe the feature

In GORM we usually have map[string]interface{} everywhere, so I think we can convenient type alias for map[string]interface{} like other package.

type M = map[string]interface{}

Motivation

Simplify some code like

db.Model(&User{}).Create([]map[string]interface{}{
  {"Name": "jinzhu_1", "Age": 18},
  {"Name": "jinzhu_2", "Age": 20},
})

db.Model(&User{}).Create([]gorm.M{
  {"Name": "jinzhu_1", "Age": 18},
  {"Name": "jinzhu_2", "Age": 20},
})

Related Issues