Documentation ¶
Index ¶
- type Template
- type TemplateRepository
- func (r *TemplateRepository) Find(ctx context.Context, criteria *cr.Criteria) ([]model.Template, error)
- func (r *TemplateRepository) FindAndCount(ctx context.Context, criteria *cr.Criteria) ([]model.Template, int, error)
- func (r *TemplateRepository) FindByID(ctx context.Context, id int64) (model.Template, error)
- func (r *TemplateRepository) FindByName(ctx context.Context, name string) (model.Template, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type TemplateRepository ¶
type TemplateRepository struct { repository.Template // contains filtered or unexported fields }
func NewTemplateRepository ¶
func NewTemplateRepository(inner repository.Template, fsys fs.FS, ext ...string) *TemplateRepository
func (*TemplateRepository) FindAndCount ¶
func (*TemplateRepository) FindByName ¶
Click to show internal directories.
Click to hide internal directories.