Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGormUnitOfWork ¶
Types ¶
type DataSeeder ¶
type DataSeeder struct { UnitOfWork *gorm.DB PermissionRepository Permission.PermissionRepository RoleRepository Role.RoleRepository UserRepository User.UserRepository // contains filtered or unexported fields }
func (*DataSeeder) Seed ¶
func (dataSeeder *DataSeeder) Seed() error
type PermissionData ¶
type PermissionsData ¶
type PermissionsData struct {
Permissions []PermissionData `json:"permissions"`
}
Click to show internal directories.
Click to hide internal directories.