repository

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 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 {
	GetByID(ctx context.Context, id int64) (*entity.Agency, int, error)
	GetAllIDs(ctx context.Context) ([]int64, int, error)
	GetAll(ctx context.Context, data entity.GetAllRequest) ([]entity.Agency, int, int, error)
	IsOld(ctx context.Context, id int64) (bool, int, error)
	UpdateByID(ctx context.Context, id int64, data entity.Agency) (int, error)
	GetOldIDs(ctx context.Context) ([]int64, int, error)
	GetCount(ctx context.Context) (int, int, error)
}

Repository contains functions for agency domain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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