Discover Packages
github.com/amin-zdev/model
package
module
Version:
v0.0.0-...-3f451a6
Opens a new window with list of versions in this module.
Published: Aug 6, 2023
License: GPL-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Expand ▾
Collapse ▴
Documentation
¶
type Group struct {
gorm .Model
Name string
UserID uint
Members []*User `gorm:"many2many:group_users;"`
Admins []*User `gorm:"many2many:group_admins;"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.