How can I make gorm ignore a interface

前端 未结 0 1168
梦谈多话
梦谈多话 2020-12-17 20:01

I have the following model

type Customer struct {
    gorm.Model
    Person  `json:"person" gorm:"-"`
    Contact `json:"contact"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题