repository

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 {
	Get(ctx context.Context, data entity.GetUserMangaRequest) ([]*entity.UserManga, int, int, error)
	BatchUpdate(ctx context.Context, data []entity.UserManga) (int, error)
	IsOld(ctx context.Context, username string) (bool, int, error)
	GetOldUsernames(ctx context.Context) ([]string, int, error)
	DeleteNotInList(ctx context.Context, username string, ids []int64) (int, error)
	DeleteByMangaID(ctx context.Context, mangaID int64) (int, error)
}

Repository contains functions for user_manga domain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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