Documentation ¶
Overview ¶
*
- Copyright 2015 @ 56x.net.
- name : article
- author : jarryliu
- date : 2016-06-27 15:57
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : content
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : pag
- author : jarryliu
- date : -- :
- description :
- history :
Index ¶
- func NewArticle(v *content.Article, m content.IArticleManager, rep content.IContentRepo) content.IArticle
- func NewCategory(v *content.ArticleCategory, m *articleManagerImpl, rep content.IContentRepo) content.ICategory
- func NewContent(userId int64, rep content.IContentRepo) content.IContent
- type Content
- func (c *Content) ArticleManager() content.IArticleManager
- func (c *Content) CreatePage(v *content.Page) content.IPage
- func (c *Content) DeletePage(id int32) error
- func (c *Content) GetAggregateRootId() int
- func (c *Content) GetPage(id int32) content.IPage
- func (c *Content) GetPageByStringIndent(indent string) content.IPage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewArticle ¶
func NewArticle(v *content.Article, m content.IArticleManager, rep content.IContentRepo) content.IArticle
func NewCategory ¶
func NewCategory(v *content.ArticleCategory, m *articleManagerImpl, rep content.IContentRepo) content.ICategory
func NewContent ¶
func NewContent(userId int64, rep content.IContentRepo) content.IContent
Types ¶
Click to show internal directories.
Click to hide internal directories.