How to solve duplicate column error with weak entity using Go-GORM?

后端 未结 0 784
温柔的废话
温柔的废话 2021-01-02 09:22

I\'m using Gin & GORM, I have several weak entities like:

type Friend struct {
    User1ID      uint   `json:"user1_ID" gorm:"INT NOT NULL&         


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