Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { GetAll(ctx context.Context, data entity.GetAllRequest) ([]entity.Manga, int, int, error) GetByID(ctx context.Context, id int64) (*entity.Manga, int, error) Update(ctx context.Context, data entity.Manga) (int, error) DeleteByID(ctx context.Context, id int64) (int, error) IsOld(ctx context.Context, id int64) (bool, int, error) GetMaxID(ctx context.Context) (int64, int, error) GetIDs(ctx context.Context) ([]int64, int, error) GetOldFinishedIDs(ctx context.Context) ([]int64, int, error) GetOldReleasingIDs(ctx context.Context) ([]int64, int, error) GetOldNotYetIDs(ctx context.Context) ([]int64, int, error) }
Repository contains functions for manga details.
Click to show internal directories.
Click to hide internal directories.