repository

package
v0.4.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 2 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL