Versions in this module Expand all Collapse all v0 v0.2.0 Feb 1, 2024 v0.1.0 Jan 25, 2024 Changes in this version + const KeyPageCheckRouter + const KeyPageDB + const KeyPageNoCheckRouter + var Dao = new(PageDao) + func BeforeRenderPage(ctx *fiber.Ctx, vptr any) (any, error) + func Bind(c *fiber.Ctx, page *model.Page) error + type PageDao struct + func (ad PageDao) Count() int64 + func (ad PageDao) CountTrash() int64 + func (pd PageDao) DeleteByIds(ids []uint) + func (pd PageDao) DeletePermanetlyByIds(ids []uint) + func (pd PageDao) GetAllByPage(page, numPerPage int) []model.Page + func (pd PageDao) GetByID(id uint) (*model.Page, error) + func (pd PageDao) GetBySlug(slug string) (*model.Page, error) + func (pd PageDao) GetListByPage(page, numPerPage int, q string) []model.Page + func (pd PageDao) GetTrashListByPage(page, numPerPage int, q string) []model.Page + func (pd PageDao) RestoreByIds(ids []uint)