Copy field values from one type to instance of another type in list

后端 未结 0 768
[愿得一人]
[愿得一人] 2021-01-06 04:15

Assume I have 2 structs as such:

type Contract struct {
    Id              string  `json:"id" gorm:"column:uuid"`
    Name            str         


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