repository

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUserNotFound = dao.ErrDataNotFound

Functions

This section is empty.

Types

type CodebookRepository

type CodebookRepository interface {
	CreateCodebook(ctx context.Context, req domain.Codebook) (int64, error)
	DetailCodebook(ctx context.Context, id int64) (domain.Codebook, error)
	ListCodebook(ctx context.Context, offset, limit int64) ([]domain.Codebook, error)
	Total(ctx context.Context) (int64, error)
	UpdateCodebook(ctx context.Context, req domain.Codebook) (int64, error)
	DeleteCodebook(ctx context.Context, id int64) (int64, error)
	FindBySecret(ctx context.Context, identifier string, secret string) (domain.Codebook, error)
	FindByUid(ctx context.Context, identifier string) (domain.Codebook, error)
	FindByUids(ctx context.Context, uids []string) ([]domain.Codebook, error)
}

func NewCodebookRepository

func NewCodebookRepository(dao dao.CodebookDAO) CodebookRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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