This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
type CharacterRepository interface {
|
||||
Find(ctx context.Context, id string) (*models.Character, error)
|
||||
FindNick(ctx context.Context, nick string) (*models.Character, error)
|
||||
FindName(ctx context.Context, name string) (*models.Character, error)
|
||||
List(ctx context.Context, filter models.CharacterFilter) ([]*models.Character, error)
|
||||
Insert(ctx context.Context, character models.Character) (*models.Character, error)
|
||||
Update(ctx context.Context, character models.Character, update models.CharacterUpdate) (*models.Character, error)
|
||||
|
||||
Reference in New Issue
Block a user