Documentation ¶
Index ¶
- type TagRepository
- func (r TagRepository) Create(ctx context.Context, i *entity.Tag) error
- func (r TagRepository) Delete(ctx context.Context, i *entity.Tag) error
- func (r TagRepository) FindAll(ctx context.Context) ([]entity.Tag, error)
- func (r TagRepository) FindByID(ctx context.Context, id uint) (*entity.Tag, error)
- func (r TagRepository) FindByIDs(ctx context.Context, ids []uint) ([]entity.Tag, error)
- func (r TagRepository) Update(ctx context.Context, i *entity.Tag) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TagRepository ¶
type TagRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New(env *env.Postgres) TagRepository
Click to show internal directories.
Click to hide internal directories.