Documentation
¶
Index ¶
- Constants
- func InitStore(filepath string) (cmsstore.StoreInterface, error)
- func SeedPage(store cmsstore.StoreInterface, siteID string, pageID string) (cmsstore.PageInterface, error)
- func SeedSite(store cmsstore.StoreInterface, siteID string) (cmsstore.SiteInterface, error)
- func SeedTemplate(store cmsstore.StoreInterface, siteID string, templateID string) (cmsstore.TemplateInterface, error)
Constants ¶
View Source
const BLOCK_01 = "BLOCK_01"
View Source
const BLOCK_02 = "BLOCK_02"
View Source
const PAGE_01 = "PAGE_01"
View Source
const PAGE_02 = "PAGE_02"
View Source
const SITE_01 = "SITE_01"
View Source
const SITE_02 = "SITE_02"
View Source
const TEMPLATE_01 = "TEMPLATE_01"
View Source
const TEMPLATE_02 = "TEMPLATE_02"
Variables ¶
This section is empty.
Functions ¶
func SeedPage ¶
func SeedPage(store cmsstore.StoreInterface, siteID string, pageID string) (cmsstore.PageInterface, error)
func SeedSite ¶
func SeedSite(store cmsstore.StoreInterface, siteID string) (cmsstore.SiteInterface, error)
func SeedTemplate ¶
func SeedTemplate(store cmsstore.StoreInterface, siteID string, templateID string) (cmsstore.TemplateInterface, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.