package data_manage import ( "eta_gn/eta_api/global" "time" ) type SearchKeyword struct { Id int `gorm:"primaryKey" ` KeyWord string CreateTime time.Time } func AddSearchKeyword(item *SearchKeyword) (err error) { err = global.DmSQL["data"].Create(item).Error return }