repository

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 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 {
	GetByID(ctx context.Context, id int64) (*entity.Vtuber, int, error)
	UpdateByID(ctx context.Context, id int64, data entity.Vtuber) (int, error)
	DeleteByID(ctx context.Context, id int64) (int, error)
	IsOld(ctx context.Context, id int64) (bool, int, error)
	GetOldIDs(ctx context.Context) ([]int64, int, error)
	GetAll(ctx context.Context, data entity.GetAllRequest) ([]entity.Vtuber, int, int, error)
	GetAllIDs(ctx context.Context) ([]int64, int, error)
	GetAllImages(ctx context.Context, shuffle bool, limit int) ([]entity.Vtuber, int, error)
	GetAllForFamilyTree(ctx context.Context) ([]entity.Vtuber, int, error)
	GetAllForAgencyTree(ctx context.Context) ([]entity.Vtuber, int, error)
	GetCharacterDesigners(ctx context.Context) ([]string, int, error)
	GetCharacter2DModelers(ctx context.Context) ([]string, int, error)
	GetCharacter3DModelers(ctx context.Context) ([]string, int, error)
}

Repository contains functions for vtuber domain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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