Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Skill ¶
type SkillGroup ¶
type SkillGroup struct {
ID uint `gorm:"primarykey" json:"id"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
Name string `json:"name"`
Skills []Skill `gorm:"many2many:skillgroup_skills;" json:"skills"`
}
func NewSkillGroup ¶
func NewSkillGroup() *SkillGroup
type User ¶
type UserSkillRank ¶
type UserSkillRank struct {
ID uint `gorm:"primarykey" json:"id"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
UserID int
User User
SkillID int
Skill Skill
Rank uint `json:"rank"`
}
func NewUserSkillRank ¶
func NewUserSkillRank() *UserSkillRank
Click to show internal directories.
Click to hide internal directories.