initial commit
This commit is contained in:
13
internal/domain/skill/repository.go
Normal file
13
internal/domain/skill/repository.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package skill
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
// Repository provides access to the skills catalog.
|
||||
type Repository interface {
|
||||
FindAll(ctx context.Context) ([]*Skill, error)
|
||||
FindByID(ctx context.Context, id uuid.UUID) (*Skill, error)
|
||||
}
|
||||
9
internal/domain/skill/skill.go
Normal file
9
internal/domain/skill/skill.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package skill
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
// Skill represents a selectable skill from the catalog (for profile skill selection).
|
||||
type Skill struct {
|
||||
ID uuid.UUID
|
||||
Name string
|
||||
}
|
||||
Reference in New Issue
Block a user