repository

package
v0.0.0-...-a783adc Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryRepository

type CategoryRepository struct {
	// contains filtered or unexported fields
}

func NewCategoryRepository

func NewCategoryRepository(dao dao.ICategoryDao) *CategoryRepository

func (*CategoryRepository) GetAll

func (r *CategoryRepository) GetAll(ctx context.Context) ([]domain.Category, error)

func (*CategoryRepository) GetTagsByName

func (r *CategoryRepository) GetTagsByName(ctx context.Context, name string) (domain.Tags, error)

type ICategoryRepository

type ICategoryRepository interface {
	GetAll(ctx context.Context) ([]domain.Category, error)
	GetTagsByName(ctx context.Context, name string) (domain.Tags, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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