Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Episode ¶ added in v0.30.3
type Repo ¶ added in v0.30.3
type Repo interface { // WithQuery is used to replace repo's query to txn WithQuery(query *query.Query) Repo Get(ctx context.Context, episodeID model.EpisodeID) (Episode, error) // Count all episode for a subject. Count(ctx context.Context, subjectID model.SubjectID, filter Filter) (int64, error) // List return all episode. List( ctx context.Context, subjectID model.SubjectID, filter Filter, limit int, offset int, ) ([]Episode, error) }
Click to show internal directories.
Click to hide internal directories.