modified: "main_dc/yalarba/api_yal/internal/models/\320\276bject.go"
fix bag with sicle recursive type links
This commit is contained in:
@@ -20,5 +20,5 @@ type Object struct {
|
||||
Description string `json:"description"`
|
||||
Address string `json:"address"`
|
||||
|
||||
Rating Rating `gorm:"foreigenKey:ObjectID" json:"rating"`
|
||||
RatingID uint `json:"rating_id"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user