Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d203d1d2f |
@@ -5,5 +5,5 @@ type Event struct {
|
|||||||
Name string `gorm:"column:name" json:"name"`
|
Name string `gorm:"column:name" json:"name"`
|
||||||
Date string `gorm:"column:date" json:"date"`
|
Date string `gorm:"column:date" json:"date"`
|
||||||
Day string `gorm:"column:day" json:"day"`
|
Day string `gorm:"column:day" json:"day"`
|
||||||
Attendees []*Member `gorm:"many2many:member_events;"`
|
Attendees []*Member `gorm:"many2many:member_events;" json:"attendees"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user