Documentation ¶
Index ¶
- func CreateFAQRepo(conn *gorm.DB) FAQ.Repository
- func ToListDomain(data []Faq) (result []FAQ.Domain)
- type FAQRepo
- func (rep *FAQRepo) Create(ctx context.Context, catC *FAQ.Domain) (FAQ.Domain, error)
- func (rep *FAQRepo) Delete(ctx context.Context, id int) error
- func (rep *FAQRepo) GetActive(ctx context.Context) ([]FAQ.Domain, error)
- func (rep *FAQRepo) GetAll(ctx context.Context) ([]FAQ.Domain, error)
- func (rep *FAQRepo) Update(ctx context.Context, userU FAQ.Domain) (FAQ.Domain, error)
- type Faq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFAQRepo ¶
func CreateFAQRepo(conn *gorm.DB) FAQ.Repository
func ToListDomain ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.