Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
*dbschema.OfficialPageBlock
}
type Layout ¶
type Layout struct {
*dbschema.OfficialPageLayout
}
type LayoutExt ¶
type LayoutExt struct {
*dbschema.OfficialPageLayout
Page *dbschema.OfficialPage `db:"-,relation=id:page_id|gtZero"`
Block *dbschema.OfficialPageBlock `db:"-,relation=id:block_id|gtZero"`
}
type LayoutWithBlock ¶
type LayoutWithBlock struct {
*dbschema.OfficialPageLayout
Block *dbschema.OfficialPageBlock `db:"-,relation=id:block_id|gtZero"`
Configs echo.H
ItemConfigs echo.H
}
type Page ¶
type Page struct {
*dbschema.OfficialPage
}
func (*Page) LayoutList ¶
func (f *Page) LayoutList() ([]*LayoutWithBlock, error)
Click to show internal directories.
Click to hide internal directories.