initial commit
This commit is contained in:
22
internal/domain/profileold/skill.go
Normal file
22
internal/domain/profileold/skill.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package profile
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
//go:generate stringer -type=SkillLevel
|
||||
type SkillLevel int
|
||||
|
||||
const (
|
||||
SkillLevelBeginner SkillLevel = iota
|
||||
SkillLevelIntermediate
|
||||
SkillLevelAdvanced
|
||||
SkillLevelExpert
|
||||
)
|
||||
|
||||
type Skill struct {
|
||||
ID uuid.UUID
|
||||
ProfileID uuid.UUID
|
||||
Name string
|
||||
Level SkillLevel
|
||||
}
|
||||
Reference in New Issue
Block a user