Documentation
¶
Index ¶
- type AttachmentSeeder
- type AttachmentSeederImpl
- type BoardMemberSeeder
- type BoardMemberSeederImpl
- type BoardRoleSeeder
- type BoardRoleSeederImpl
- type BoardSeeder
- type BoardSeederImpl
- type CardAssigneeSeeder
- type CardAssigneeSeederImpl
- type CardLabelSeeder
- type CardLabelSeederImpl
- type CardSeeder
- type CardSeederImpl
- type CommentSeeder
- type CommentSeederImpl
- type LabelSeeder
- type LabelSeederImpl
- type ListSeeder
- type ListSeederImpl
- type PasswordSeeder
- type PasswordSeederImpl
- type Record
- type RoleSeeder
- type RoleSeederImpl
- type UserSeeder
- type UserSeederImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentSeeder ¶
func NewAttachmentSeeder ¶
func NewAttachmentSeeder(db *gorm.DB) AttachmentSeeder
type AttachmentSeederImpl ¶
type AttachmentSeederImpl struct {
// contains filtered or unexported fields
}
func (*AttachmentSeederImpl) Seed ¶
func (s *AttachmentSeederImpl) Seed(count uint)
func (*AttachmentSeederImpl) SetCardRecords ¶
func (s *AttachmentSeederImpl) SetCardRecords(records []Record)
type BoardMemberSeeder ¶
type BoardMemberSeeder interface { Seed(count uint) SetBoardRecords([]Record) SetUserRecords([]Record) SetBoardRoleIDs([]uint) }
func NewBoardMemberSeeder ¶
func NewBoardMemberSeeder(db *gorm.DB) BoardMemberSeeder
type BoardMemberSeederImpl ¶
type BoardMemberSeederImpl struct {
// contains filtered or unexported fields
}
func (*BoardMemberSeederImpl) Seed ¶
func (s *BoardMemberSeederImpl) Seed(count uint)
func (*BoardMemberSeederImpl) SetBoardRecords ¶
func (s *BoardMemberSeederImpl) SetBoardRecords(records []Record)
func (*BoardMemberSeederImpl) SetBoardRoleIDs ¶
func (s *BoardMemberSeederImpl) SetBoardRoleIDs(ids []uint)
func (*BoardMemberSeederImpl) SetUserRecords ¶
func (s *BoardMemberSeederImpl) SetUserRecords(records []Record)
type BoardRoleSeeder ¶
type BoardRoleSeeder interface { Seed() GetIDs() []uint }
func NewBoardRoleSeeder ¶
func NewBoardRoleSeeder(db *gorm.DB) BoardRoleSeeder
type BoardRoleSeederImpl ¶
type BoardRoleSeederImpl struct {
// contains filtered or unexported fields
}
func (*BoardRoleSeederImpl) GetIDs ¶
func (s *BoardRoleSeederImpl) GetIDs() []uint
func (*BoardRoleSeederImpl) Seed ¶
func (s *BoardRoleSeederImpl) Seed()
type BoardSeeder ¶
type BoardSeeder interface { Seed(count uint) GetRecords() []Record SetUserRecords([]Record) GetCount() float64 }
func NewBoardSeeder ¶
func NewBoardSeeder(db *gorm.DB) BoardSeeder
type BoardSeederImpl ¶
type BoardSeederImpl struct {
// contains filtered or unexported fields
}
func (*BoardSeederImpl) GetCount ¶
func (s *BoardSeederImpl) GetCount() float64
func (*BoardSeederImpl) GetRecords ¶
func (s *BoardSeederImpl) GetRecords() []Record
func (*BoardSeederImpl) Seed ¶
func (s *BoardSeederImpl) Seed(count uint)
func (*BoardSeederImpl) SetUserRecords ¶
func (s *BoardSeederImpl) SetUserRecords(records []Record)
type CardAssigneeSeeder ¶
type CardAssigneeSeeder interface {
Seed(count uint)
}
func NewCardAssigneeSeeder ¶
func NewCardAssigneeSeeder(db *gorm.DB) CardAssigneeSeeder
type CardAssigneeSeederImpl ¶
type CardAssigneeSeederImpl struct {
// contains filtered or unexported fields
}
func (*CardAssigneeSeederImpl) Seed ¶
func (s *CardAssigneeSeederImpl) Seed(count uint)
type CardLabelSeeder ¶
type CardLabelSeeder interface {
Seed(count uint)
}
func NewCardLabelSeeder ¶
func NewCardLabelSeeder(db *gorm.DB) CardLabelSeeder
type CardLabelSeederImpl ¶
type CardLabelSeederImpl struct {
// contains filtered or unexported fields
}
func (*CardLabelSeederImpl) Seed ¶
func (s *CardLabelSeederImpl) Seed(count uint)
type CardSeeder ¶
type CardSeeder interface { Seed(count uint) GetRecords() []Record GetCount() float64 SetListRecords([]Record) }
func NewCardSeeder ¶
func NewCardSeeder(db *gorm.DB) CardSeeder
type CardSeederImpl ¶
type CardSeederImpl struct {
// contains filtered or unexported fields
}
func (*CardSeederImpl) GetCount ¶
func (s *CardSeederImpl) GetCount() float64
func (*CardSeederImpl) GetRecords ¶
func (s *CardSeederImpl) GetRecords() []Record
func (*CardSeederImpl) Seed ¶
func (s *CardSeederImpl) Seed(count uint)
func (*CardSeederImpl) SetListRecords ¶
func (s *CardSeederImpl) SetListRecords(records []Record)
type CommentSeeder ¶
func NewCommentSeeder ¶
func NewCommentSeeder(db *gorm.DB) CommentSeeder
type CommentSeederImpl ¶
type CommentSeederImpl struct {
// contains filtered or unexported fields
}
func (*CommentSeederImpl) Seed ¶
func (s *CommentSeederImpl) Seed(count uint)
func (*CommentSeederImpl) SetCardRecords ¶
func (s *CommentSeederImpl) SetCardRecords(records []Record)
func (*CommentSeederImpl) SetUserRecords ¶
func (s *CommentSeederImpl) SetUserRecords(records []Record)
type LabelSeeder ¶
func NewLabelSeeder ¶
func NewLabelSeeder(db *gorm.DB) LabelSeeder
type LabelSeederImpl ¶
type LabelSeederImpl struct {
// contains filtered or unexported fields
}
func (*LabelSeederImpl) GetRecords ¶
func (s *LabelSeederImpl) GetRecords() []Record
func (*LabelSeederImpl) Seed ¶
func (s *LabelSeederImpl) Seed(count uint)
func (*LabelSeederImpl) SetBoardRecords ¶
func (s *LabelSeederImpl) SetBoardRecords(records []Record)
type ListSeeder ¶
type ListSeeder interface { Seed(count uint) GetRecords() []Record GetCount() float64 SetBoardRecords([]Record) }
func NewListSeeder ¶
func NewListSeeder(db *gorm.DB) ListSeeder
type ListSeederImpl ¶
type ListSeederImpl struct {
// contains filtered or unexported fields
}
func (*ListSeederImpl) GetCount ¶
func (s *ListSeederImpl) GetCount() float64
func (*ListSeederImpl) GetRecords ¶
func (s *ListSeederImpl) GetRecords() []Record
func (*ListSeederImpl) Seed ¶
func (s *ListSeederImpl) Seed(count uint)
func (*ListSeederImpl) SetBoardRecords ¶
func (s *ListSeederImpl) SetBoardRecords(records []Record)
type PasswordSeeder ¶
type PasswordSeeder interface { Seed() SetUserRecords([]Record) }
func NewPasswordSeeder ¶
func NewPasswordSeeder(db *gorm.DB) PasswordSeeder
type PasswordSeederImpl ¶
type PasswordSeederImpl struct {
// contains filtered or unexported fields
}
func (*PasswordSeederImpl) Seed ¶
func (s *PasswordSeederImpl) Seed()
func (*PasswordSeederImpl) SetUserRecords ¶
func (s *PasswordSeederImpl) SetUserRecords(records []Record)
type RoleSeeder ¶
type RoleSeeder interface { Seed() GetIDs() []uint }
func NewRoleSeeder ¶
func NewRoleSeeder(db *gorm.DB) RoleSeeder
type RoleSeederImpl ¶
type RoleSeederImpl struct {
// contains filtered or unexported fields
}
func (*RoleSeederImpl) GetIDs ¶
func (s *RoleSeederImpl) GetIDs() []uint
func (*RoleSeederImpl) Seed ¶
func (s *RoleSeederImpl) Seed()
type UserSeeder ¶
func NewUserSeeder ¶
func NewUserSeeder(db *gorm.DB) UserSeeder
type UserSeederImpl ¶
type UserSeederImpl struct {
// contains filtered or unexported fields
}
func (*UserSeederImpl) GetRecords ¶
func (s *UserSeederImpl) GetRecords() []Record
func (*UserSeederImpl) Seed ¶
func (s *UserSeederImpl) Seed(count uint)
func (*UserSeederImpl) SetRoleIDs ¶
func (s *UserSeederImpl) SetRoleIDs(roleIDs []uint)
Click to show internal directories.
Click to hide internal directories.