Started working on optional fields (members)
This commit is contained in:
parent
cf2c70df0d
commit
8226329b61
5 changed files with 204 additions and 10 deletions
|
|
@ -4,8 +4,9 @@ import "gorm.io/gorm"
|
|||
|
||||
type List struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
Multi bool
|
||||
Name string
|
||||
Multi bool
|
||||
ListItems []*ListItem
|
||||
}
|
||||
|
||||
type ListItem struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue