repository

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 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 {
	Get(ctx context.Context, data entity.GetUserAnimeRequest) ([]*entity.UserAnime, int, int, error)
	Update(ctx context.Context, data entity.UserAnime) (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, status string) (int, error)
	DeleteByAnimeID(ctx context.Context, animeID int64) (int, error)
	DeleteByUsername(ctx context.Context, username string) (int, error)
}

Repository contains functions for user_anime domain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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