Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶ added in v0.30.3
type Repo interface { Get(ctx context.Context, id model.CharacterID) (model.Character, error) GetByIDs(ctx context.Context, ids []model.CharacterID) (map[model.CharacterID]model.Character, error) GetPersonRelated(ctx context.Context, personID model.PersonID) ([]domain.PersonCharacterRelation, error) GetSubjectRelated(ctx context.Context, subjectID model.SubjectID) ([]domain.SubjectCharacterRelation, error) GetSubjectRelationByIDs(ctx context.Context, ids []SubjectCompositeID) ([]domain.SubjectCharacterRelation, error) }
type SubjectCompositeID ¶ added in v0.31.0
type SubjectCompositeID struct { CharacterID model.CharacterID SubjectID model.SubjectID }
Click to show internal directories.
Click to hide internal directories.